PKGBUILD.backup 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # Maintainer: Parabola automatic package builder <autobuilder@parabola.nu>
  2. pkgname=parabola-keyring
  3. pkgver=20191127
  4. _gitver=89066299c593bd574bda1c97f2a5c9be3bb833cf
  5. pkgrel=1
  6. pkgdesc='Parabola GNU/Linux-libre PGP keyring'
  7. arch=('any')
  8. url='https://git.parabola.nu/hackers.git/'
  9. license=('GPL')
  10. install=$pkgname.install
  11. source=(https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
  12. sha512sums=('7955ba2afc61f2918025816494859faf2ed27ebdc609d492aae23f3b51744b29a2e4056823f1d4d6ae04837793a3cf24c431f0025b5ca719aa6b7ee64d4638ad'
  13. 'SKIP')
  14. validpgpkeys=('D3EAD7F9D076EB9AF650149DA170D6A0B669E21A') # Parabola automatic package builder <dev@lists.parabolagnulinux.org>
  15. mkdepends=('parabola-hackers')
  16. mksource=("hackers-${_gitver}::git://git.parabola.nu/hackers.git#commit=${_gitver}")
  17. mkmd5sums=('SKIP')
  18. mksource() {
  19. cd "$srcdir"
  20. mv {,.}hackers-$_gitver
  21. mkdir .cachedir
  22. /usr/lib/parabola-hackers/pacman-make-keyring \
  23. V="$pkgver" \
  24. PARABOLA_HACKERS_YAMLDIR="$PWD/.hackers-$_gitver/users" \
  25. cachedir="$PWD/.cachedir"
  26. bsdtar xf "$pkgname-$pkgver.tar.gz"
  27. }
  28. package() {
  29. cd "$srcdir/$pkgname-$pkgver"
  30. make PREFIX=/usr DESTDIR="${pkgdir}" install
  31. }