summaryrefslogtreecommitdiff
path: root/system/adelie-base
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-12 02:35:35 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-12 02:36:10 +0000
commit5cd5a4352c5e039d6102fbb4e668133cd2104d7c (patch)
treef57374922e4edd3c4c38955d0e42b2a8759148fb /system/adelie-base
parent2f6caac6019e3182486965f7f09baed7e93e1be9 (diff)
downloadpackages-5cd5a4352c5e039d6102fbb4e668133cd2104d7c.tar.gz
packages-5cd5a4352c5e039d6102fbb4e668133cd2104d7c.tar.bz2
packages-5cd5a4352c5e039d6102fbb4e668133cd2104d7c.tar.xz
packages-5cd5a4352c5e039d6102fbb4e668133cd2104d7c.zip
system/adelie-base: First try at an adelie-base package
Diffstat (limited to 'system/adelie-base')
-rw-r--r--system/adelie-base/APKBUILD45
1 files changed, 45 insertions, 0 deletions
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"