aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-keys/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-04-18 06:01:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-04-18 06:01:05 +0000
commit903786409f6268bcbad60a1dc97da8ae6bb1fb40 (patch)
treed6443eecf95bd26e1e07cf3e77ae5a80dcde4dbf /main/alpine-keys/APKBUILD
parent8c43de5e4ff901121377ded9c0575064d5576d6d (diff)
downloadaports-903786409f6268bcbad60a1dc97da8ae6bb1fb40.tar.bz2
aports-903786409f6268bcbad60a1dc97da8ae6bb1fb40.tar.xz
main/alpine-keys: move the keys out from alpine-base
This is we can install a chroot with the keys but wihout pulling in openrc.
Diffstat (limited to 'main/alpine-keys/APKBUILD')
-rw-r--r--main/alpine-keys/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/alpine-keys/APKBUILD b/main/alpine-keys/APKBUILD
new file mode 100644
index 0000000000..9407850cac
--- /dev/null
+++ b/main/alpine-keys/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=alpine-keys
+pkgver=1.0
+pkgrel=0
+pkgdesc="Public keys for Alpine Linux packages"
+url="http://alpinelinux.org"
+arch="noarch"
+license="GPL"
+depends=
+makedepends=
+install=
+subpackages=
+replaces="alpine-base"
+source="http://dev.alpinelinux.org/~ncopa/alpine/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
+ alpine-devel@lists.alpinelinux.org-4d07755e.rsa.pub
+ buildozer-50d1ba71.rsa.pub"
+
+build() {
+ return 0
+}
+
+package() {
+ # copy keys for repos
+ mkdir -p "$pkgdir"/etc/apk/keys
+ install -m644 "$srcdir"/alpine-devel*.pub \
+ "$pkgdir"/etc/apk/keys/ || return 1
+ if [ "$ALPINE_LIBC" = "eglibc" ]; then
+ install -m644 "$srcdir"/buildozer-50d1ba71.rsa.pub \
+ "$pkgdir"/etc/apk/keys/ || return 1
+ fi
+}
+
+md5sums="75ee19ea2b03c12bc171647edc677f6f alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
+ca7d06006181b625cf1ff4aefd51bd08 alpine-devel@lists.alpinelinux.org-4d07755e.rsa.pub
+056daa8bf61a95a42971bf6c13bf300f buildozer-50d1ba71.rsa.pub"