123456789101112131415161718192021222324252627282930313233 |
- # Maintainer: Nathaniel van Diepen <[email protected]>
- pkgname=eeems-keyring
- # Generate a new version with date +"%Y%m%d"
- pkgver=20240520
- 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]>
- 'DFB0234711A7B1176B00261F87F4F19E784573DA' # Nathaniel van Diepen <[email protected]>
- )
- 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;
- echo "DFB0234711A7B1176B00261F87F4F19E784573DA:4:" >> eeems-trusted;
- touch eeems-revoked;
- gpg --armor --export A64228CCD26972801C2CE6E3EC931EA46980BA1B > eeems.gpg;
- gpg --armor --export DFB0234711A7B1176B00261F87F4F19E784573DA > eeems.gpg;
- # Copy license file
- cd $srcdir;
- cp LICENSE "$pkgdir/usr/share/licenses/eeems-keyring/";
- }
|