Initial upload: alhp-keyring 20211125-1

This commit is contained in:
2021-11-25 20:29:14 +01:00
parent 95510ddba3
commit da295f20b5
3 changed files with 46 additions and 0 deletions

15
alhp-keyring/.SRCINFO Normal file
View File

@@ -0,0 +1,15 @@
pkgbase = alhp-keyring
pkgdesc = ALHP PGP keyring
pkgver = 20211125
pkgrel = 1
url = https://git.harting.dev/anonfunc/alhp-keyring
install = alhp-keyring.install
arch = any
license = GPL
source = https://f.harting.dev/alhp-keyring/alhp-keyring-20211125.tar.gz
source = https://f.harting.dev/alhp-keyring/alhp-keyring-20211125.tar.gz.sig
validpgpkeys = 2E3B2B05A332A7DB9019797848998B4039BED1CA
b2sums = 39fd6edd9b509c1520085d30cd56ad7459ad25df9e68a26ed014d3798436a87626c21250009860d0fdaa91c051cf7b1e53418cd93140b28471cbc5c516b6e5df
b2sums = SKIP
pkgname = alhp-keyring

19
alhp-keyring/PKGBUILD Normal file
View File

@@ -0,0 +1,19 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=alhp-keyring
pkgver=20211125
pkgrel=1
pkgdesc='ALHP PGP keyring'
arch=(any)
url='https://git.harting.dev/anonfunc/alhp-keyring'
license=(GPL)
install=$pkgname.install
source=(https://f.harting.dev/$pkgname/${pkgname}-${pkgver}.tar.gz{,.sig})
b2sums=('39fd6edd9b509c1520085d30cd56ad7459ad25df9e68a26ed014d3798436a87626c21250009860d0fdaa91c051cf7b1e53418cd93140b28471cbc5c516b6e5df'
'SKIP')
validpgpkeys=('2E3B2B05A332A7DB9019797848998B4039BED1CA') # Giovanni Harting <g.harting@mailstash.org>
package() {
cd $pkgname-$pkgver
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 alhp
usr/bin/pacman-key --updatedb
fi
}
post_install() {
if [ -x usr/bin/pacman-key ]; then
post_upgrade
fi
}