testing/archlinux-keyring: new aport

This commit is contained in:
Clayton Craft 2021-09-27 14:40:31 -07:00 committed by Leo
parent 059157dde0
commit 53e60cad79
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=archlinux-keyring
pkgver=20210902
pkgrel=0
pkgdesc="GuPG keys for Arch Linux"
url="https://archlinux.org"
arch="noarch"
license="GPL-3.0-or-later"
options="!check"
install="$pkgname.post-install $pkgname.post-upgrade"
source="https://sources.archlinux.org/other/archlinux-keyring/archlinux-keyring-$pkgver.tar.gz"
package() {
make PREFIX=/usr DESTDIR="$pkgdir" install
}
sha512sums="
3cdd1560f1fe9590452b2bf5019e6b465d119bcb9fd82587983d91bc6adb4634e51871c7f908156732571c359fe67fd7c175668c8766ea9d9114d799f5fc7d4d archlinux-keyring-20210902.tar.gz
"

View File

@ -0,0 +1,7 @@
#!/bin/sh
if [ -x /usr/bin/pacman-key ]; then
/usr/bin/pacman-key --populate archlinux
/usr/bin/pacman-key --updatedb
fi
exit 0

View File

@ -0,0 +1 @@
archlinux-keyring.post-install