APKBUILD 1.18 KB
Newer Older
1 2 3
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-base
Natanael Copa's avatar
Natanael Copa committed
4
pkgver=2.6.0_alpha2
5
pkgrel=0
6 7
pkgdesc="Meta package for minimal alpine base"
url="http://alpinelinux.org"
8
arch="noarch"
9 10
license="GPL"
depends="alpine-baselayout alpine-conf apk-tools busybox busybox-initscripts
11
	openrc"
12 13 14 15 16
if [ "$ALPINE_LIBC" = "eglibc" ]; then
	depends="$depends eglibc-utils"
else
	depends="$depends uclibc-utils"
fi
17 18 19
makedepends=
install=
subpackages=
20
replaces="alpine-baselayout"
21
source="http://dev.alpinelinux.org/~ncopa/alpine/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
22
	alpine-devel@lists.alpinelinux.org-4d07755e.rsa.pub
23
	"
24 25

build() {
26 27 28 29
	return 0
}

package() {
30
	# copy keys for repos
31 32
	mkdir -p "$pkgdir"/etc/apk/keys
	install -m644 "$srcdir"/*.pub "$pkgdir"/etc/apk/keys/
33 34

	# create /etc/alpine-release
35
	echo $pkgver > "$pkgdir"/etc/alpine-release
36 37 38 39 40 41 42

	# create /etc/issue
	cat >"$pkgdir"/etc/issue<<EOF
Welcome to Alpine Linux ${pkgver%.*}
Kernel \\r on an \\m (\\l)

EOF
43
}
44

Natanael Copa's avatar
Natanael Copa committed
45 46
md5sums="75ee19ea2b03c12bc171647edc677f6f  alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
ca7d06006181b625cf1ff4aefd51bd08  alpine-devel@lists.alpinelinux.org-4d07755e.rsa.pub"