From 68da945740ff54ab76e83fa7c2a2dba24334dc1c Mon Sep 17 00:00:00 2001 From: Lilac Date: Sun, 13 Aug 2023 15:00:58 +0000 Subject: [PATCH] alhp-keyring: auto updated to 20230504-4 --- repo/alhp-keyring/PKGBUILD | 19 +++++++++++++++++++ repo/alhp-keyring/alhp-keyring.install | 12 ++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 repo/alhp-keyring/PKGBUILD create mode 100644 repo/alhp-keyring/alhp-keyring.install diff --git a/repo/alhp-keyring/PKGBUILD b/repo/alhp-keyring/PKGBUILD new file mode 100644 index 0000000..c44207c --- /dev/null +++ b/repo/alhp-keyring/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Giovanni Harting <539@idlegandalf.com> + +pkgname=alhp-keyring +pkgver=20230504 +pkgrel=4 +pkgdesc='ALHP PGP keyring' +arch=(any) +url='https://somegit.dev/ALHP/alhp-keyring' +license=(GPL) +install=$pkgname.install +source=(https://f.alhp.dev/$pkgname/${pkgname}-${pkgver}.tar.gz{,.sig}) +b2sums=('7c07bf6ceef73f8b6707e35714625e4613df5eae9f79d6fb494317a1eccd2613c20dba292c964a136fd4a7e78c0db970b779cc8281dd565dffd49734d9f46dd2' + 'SKIP') +validpgpkeys=('2E3B2B05A332A7DB9019797848998B4039BED1CA') # Giovanni Harting + +package() { + cd $pkgname + make PREFIX=/usr DESTDIR="$pkgdir" install +} diff --git a/repo/alhp-keyring/alhp-keyring.install b/repo/alhp-keyring/alhp-keyring.install new file mode 100644 index 0000000..85f79f1 --- /dev/null +++ b/repo/alhp-keyring/alhp-keyring.install @@ -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 +}