123456789101112131415161718192021222324252627282930 |
- # Maintainer: Nathaniel van Diepen <[email protected]>
- pkgname=eeems-keyring
- 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 <[email protected]>
- pkgver(){
- date +"%Y%m%d"
- }
- 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/";
- }
|