summaryrefslogtreecommitdiff
path: root/system/adelie-base/APKBUILD
blob: ac1f2dbcbc7590a3a2e0291e22ab269adb8eca35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 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 postfix rsyslog libarchive zsh binutils at coreutils diffutils dcron file findutils shimmy grep procps util-linux mailx man patch sed sharutils bc vim psmisc net-tools kbd"
makedepends=""
install=""
options="!fhs"
subpackages="$pkgname-doc $pkgname-posix $pkgname-lsb"
source="https://distfiles.adelielinux.org/source/$pkgname/$pkgname-$pkgver.tar.xz"

build() {
	return 0
}

package() {
	cd "$builddir"
	mkdir -p "$pkgdir"
	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"
	mkdir -p "$subpkgdir"
	return 0
}

lsb() {
	depends="cpio gzip nspr nss gettext make ncurses mawk pam"
	mkdir -p "$subpkgdir"
	return 0
}

sha512sums="bc8369dec474262de74117789db26130ffd7664f33235fad363771891ce8e64ce339f803509fc044339d8ff173dcf4b1c3cebab6fbcf4d91e3af7d2fb75580c3  adelie-base-0.3.2.tar.xz"