1 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2 pkgname=sevmonster-keys
5 pkgdesc="Public keys for alpine.sev.monster packages"
6 url="https://alpine.sev.monster"
7 # we install arch specific keys to /etc so we cannot do arch=noarch
12 _arch_keys="x86_64:alpine@sev.monster-60eb1287.rsa.pub"
14 for _i in $_arch_keys; do
15 source="$source ${_i#*:}"
20 install -Dm644 "$srcdir"/$2 "$pkgdir"/etc/apk/keys/$2
25 x86*) _ins_key $1 $2 ;;
31 mkdir -p "$pkgdir"/etc/apk/keys
32 for i in $_arch_keys; do
35 install -Dm644 "$srcdir"/$_key \
36 "$pkgdir"/usr/share/apk/keys/$_key
38 for _arch in ${_archs//,/ }; do
39 mkdir -p "$pkgdir"/usr/share/apk/keys/$_arch
40 ln -s ../$_key "$pkgdir"/usr/share/apk/keys/$_arch/
43 x86*) _install_x86 $_arch $_key ;;
50 c36281116bad0c8c0c5e24b09366e9a238d68d7ead69167da8601e05951f895a007838e45d003aac1e5c10c3db52be6f4e2dc1d583f5eab3912ac26a8423819a alpine@sev.monster-60eb1287.rsa.pub