summaryrefslogtreecommitdiff
path: root/system/adelie-base/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-16 07:54:04 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-16 07:54:04 +0000
commit8393dc4345b8837dd3c883b612f9248a8cee1243 (patch)
tree9ba7e4fedf67bdfac1e71aa345ba90dabcb01018 /system/adelie-base/APKBUILD
parent59e12d7cecb3da607c375ce07f916605c6a177cb (diff)
downloadpackages-8393dc4345b8837dd3c883b612f9248a8cee1243.tar.gz
packages-8393dc4345b8837dd3c883b612f9248a8cee1243.tar.bz2
packages-8393dc4345b8837dd3c883b612f9248a8cee1243.tar.xz
packages-8393dc4345b8837dd3c883b612f9248a8cee1243.zip
system/adelie-base: make empty /etc/shells for debianutils; make docs package
Diffstat (limited to 'system/adelie-base/APKBUILD')
-rw-r--r--system/adelie-base/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/system/adelie-base/APKBUILD b/system/adelie-base/APKBUILD
index 0bed33da9..22eeeba55 100644
--- a/system/adelie-base/APKBUILD
+++ b/system/adelie-base/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=adelie-base
pkgver=0.9.1
-pkgrel=0
+pkgrel=1
pkgdesc="The Adélie Linux Base System"
url="https://www.adelielinux.org/"
arch="noarch"
@@ -17,7 +17,7 @@ depends="adelie-core binutils console-setup debianutils file gettys-openrc
libarchive-tools man-db patch sed sharutils sysklogd zsh"
makedepends=""
makedepends_host="$depends"
-subpackages="adelie-core:core $pkgname-doc $pkgname-posix $pkgname-lsb dev-kit:devkit"
+subpackages="adelie-core:core $pkgname-doc $pkgname-posix $pkgname-lsb dev-kit:devkit docs"
provides="alpine-base"
source="https://distfiles.adelielinux.org/source/$pkgname/$pkgname-$pkgver.tar.xz
group
@@ -43,6 +43,7 @@ package() {
install -m644 "$srcdir"/group "$pkgdir"/etc/group
install -m644 "$srcdir"/passwd "$pkgdir"/etc/passwd
install -m640 -g shadow "$builddir"/tree/etc/shadow "$pkgdir"/etc/shadow
+ echo '' > "$pkgdir"/etc/shells
# stupid inflatable stupid busybox
local i
@@ -92,6 +93,12 @@ devkit() {
return 0
}
+docs() {
+ pkgdesc="Metapackage that will magically install all documentation for your system"
+ mkdir -p "$subpkgdir"
+ return 0
+}
+
sha512sums="be6f4375d4bc3f014b33a536c24c84ab288c6d3fb525a7a069723e8e522342ce6c6cd800417ada28ecb6f31550c73c12075e2e1eb9e7734fc0d37bb3e9471434 adelie-base-0.9.1.tar.xz
37260d9315fd8d8b0df3dfb5bd3e1035a47ba1e43f33aa195e3feca6d169da282c1b067ef4603e7e9acaedbfef8b58cf490c00bdca444d43c9d570355ad29eac group
1288d9d1ee77e1159bacbc94a44b2ae9c6dff94c5001be6e560cd5859f86181c47341317025d4999bc7d57cfcebb7974804514d981b7bd66ffd00c5edaf5360c passwd