# Maintainer: Nathaniel van Diepen pkgname=eeems-keyring # Generate a new version with date +"%Y%m%d" pkgver=20210426 pkgrel=1 pkgdesc='Eeems PGP keyring' arch=(any) url='https://eeems.codes/Eeems/eeems-keyring' license=(MIT) install=$pkgname.install source=("$pkgname.install" "LICENSE") sha256sums=("SKIP" "SKIP") validpgpkeys=('A64228CCD26972801C2CE6E3EC931EA46980BA1B') # Nathaniel van Diepen package() { # Create directories mkdir -p "$pkgdir/usr/share/pacman/keyrings/"; mkdir -p "$pkgdir/usr/share/licenses/eeems-keyring"; # Create keyring files cd "$pkgdir/usr/share/pacman/keyrings"; echo "A64228CCD26972801C2CE6E3EC931EA46980BA1B:4" > eeems-trusted; touch eeems-revoked; gpg --armor --export A64228CCD26972801C2CE6E3EC931EA46980BA1B > eeems.gpg; # Copy license file cd $srcdir; cp LICENSE "$pkgdir/usr/share/licenses/eeems-keyring/"; }