summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--system/adelie-base/APKBUILD45
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"