Update rad4day-keyring
This commit is contained in:
28
rad4day-repo-keyring/PKGBUILD
Normal file
28
rad4day-repo-keyring/PKGBUILD
Normal 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
|
||||
}
|
12
rad4day-repo-keyring/keyring.install
Normal file
12
rad4day-repo-keyring/keyring.install
Normal 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
|
||||
}
|
Reference in New Issue
Block a user