summaryrefslogtreecommitdiff
path: root/system/adelie-base/APKBUILD
blob: eb5bc66507b3ff6ea1701d85c8be14b21b546a67 (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 sysklogd libarchive zsh binutils at coreutils diffutils fcron file findutils shimmy grep procps util-linux mailx man-db patch sed sharutils bc vim psmisc net-tools kbd less"
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="cflow cups ed m4 ncompress pax"
	mkdir -p "$subpkgdir"
	return 0
}

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

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