APKBUILD 1.14 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.5_alpha20121009
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
[ "$ALPINE_LIBC" != "eglibc" ] && depends="$depends uclibc-utils"
13 14 15
makedepends=
install=
subpackages=
16
replaces="alpine-baselayout"
17
source="http://dev.alpinelinux.org/~ncopa/alpine/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
18
	alpine-devel@lists.alpinelinux.org-4d07755e.rsa.pub
19
	"
20 21

build() {
22 23 24 25
	return 0
}

package() {
26
	# copy keys for repos
27 28
	mkdir -p "$pkgdir"/etc/apk/keys
	install -m644 "$srcdir"/*.pub "$pkgdir"/etc/apk/keys/
29 30

	# create /etc/alpine-release
31
	echo $pkgver > "$pkgdir"/etc/alpine-release
32 33 34 35 36 37 38

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

EOF
39
}
40

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