Update rad4day-keyring

This commit is contained in:
2023-03-25 22:57:02 +01:00
commit 0871451c3d
3 changed files with 83 additions and 0 deletions

View File

@ -0,0 +1,28 @@
pkgname=rad4day-repo-keyring
pkgver=20230325
pkgrel=1
pkgdesc='Rad4day Repo PGP keyring'
arch=('any')
license=('GPL3')
install=keyring.install
depends=('pacman')
makedepends=('git' 'python' 'sequoia-sq' 'pkgconf' 'systemd')
checkdepends=('python-coverage' 'python-pytest')
source=("rad4day-keyring::git+https://git.tobiasmanske.de/archlinux-repo/keyring.git#tag=latest?signed")
sha256sums=('SKIP')
validpgpkeys=('10BE06BC275CE0E17373B368F67996C486D1B56B') # Root of trust Key
build() {
cd rad4day-keyring/
make build
}
check() {
cd rad4day-keyring/
make check
}
package() {
cd rad4day-keyring/
make PREFIX='/usr' DESTDIR="${pkgdir}" install
}

View File

@ -0,0 +1,12 @@
post_upgrade() {
if usr/bin/pacman-key -l >/dev/null 2>&1; then
usr/bin/pacman-key --populate rad4day
usr/bin/pacman-key --updatedb
fi
}
post_install() {
if [ -x usr/bin/pacman-key ]; then
post_upgrade
fi
}