1234567891011121314151617181920212223242526272829 |
- # Maintainer: Nathaniel van Diepen <[email protected]>
- pkgname=eeems-keyring
- 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/";
- }
|