diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-06-12 02:35:35 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-06-12 02:36:10 +0000 |
commit | 5cd5a4352c5e039d6102fbb4e668133cd2104d7c (patch) | |
tree | f57374922e4edd3c4c38955d0e42b2a8759148fb | |
parent | 2f6caac6019e3182486965f7f09baed7e93e1be9 (diff) | |
download | packages-5cd5a4352c5e039d6102fbb4e668133cd2104d7c.tar.gz packages-5cd5a4352c5e039d6102fbb4e668133cd2104d7c.tar.bz2 packages-5cd5a4352c5e039d6102fbb4e668133cd2104d7c.tar.xz packages-5cd5a4352c5e039d6102fbb4e668133cd2104d7c.zip |
system/adelie-base: First try at an adelie-base package
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | system/adelie-base/APKBUILD | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..f815bbc6a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*/src/* diff --git a/system/adelie-base/APKBUILD b/system/adelie-base/APKBUILD new file mode 100644 index 000000000..4ad282db4 --- /dev/null +++ b/system/adelie-base/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> + +pkgname=adelie-base +pkgver=0.3.2 +pkgrel=0 +pkgdesc="The Adélie Linux Base System" +url="http://adelielinux.org/" +arch="noarch" +license="NCSA" +depends="apk-tools shadow v:mta v:syslog libarchive zsh binutils at coreutils diffutils v:cron file findutils shimmy grep noxcuse procps util-linux nail man patch sed sharutils bc vim psmisc net-tools kbd" +makedepends="" +install="" +subpackages="$pkgname-doc $pkgname-posix $pkgname-lsb" +source="https://distfiles.adelielinux.org/source/$pkgname/$pkgname-$pkgver.tar.xz" +builddir="$srcdir/" + +build() { + return 0 +} + +package() { + cd "$builddir" + make install DESTDIR="$pkgdir" +} + +doc() { + DOCS="CONTRIBUTING.rst LICENSE README.rst" + for _doc in $DOCS; do + install -Dm644 "$srcdir"/$pkgname-$pkgver/$_doc \ + "$subpkgdir"/usr/share/doc/$pkgname/$_doc || return 1 + done +} + +posix() { + depends="cups ed m4 pax cflow ncompress" + return 0 +} + +lsb() { + depends="cpio gzip nspr nss gettext make ncurses mawk pam" + return 0 +} + +sha512sums="bc8369dec474262de74117789db26130ffd7664f33235fad363771891ce8e64ce339f803509fc044339d8ff173dcf4b1c3cebab6fbcf4d91e3af7d2fb75580c3 adelie-base-0.3.2.tar.xz" |