PKGBUILD 1001 B

123456789101112131415161718192021222324
  1. # Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
  2. # Maintainer (Parabola): Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  3. pkgname=hyperbola-mirrorlist
  4. pkgver=20190529
  5. pkgrel=1.hyperbola1
  6. pkgrel+=.par1
  7. pkgdesc="Hyperbola mirror list"
  8. arch=('any')
  9. url="https://repo.hyperbola.info:50000/other/mirrorlist/mirrorlist.txt"
  10. license=('CC0-1.0')
  11. source=(mirrorlist-${pkgver}.txt::${url}
  12. legalcode.txt)
  13. sha512sums=('cc264fa3aa1844b0ab626d44b53b24af70cf40ba2a77c74af8def87f35cf9e85a8cd18a5b819f2e5b04912a9ce99e0930fe501eae50010577fafc2fbbaf5de16'
  14. '1eb4436f8d58766cbe99db97e5e8c0db8a706376afd291c337de1ba7a6b066d3791dc85ad034bdd54ea336bed6e6e8e7a037d8b04b2773c9c7517b9d9921d1fa')
  15. package() {
  16. mkdir -p $pkgdir/usr/share/mirrorlist
  17. install -m644 $srcdir/mirrorlist-${pkgver}.txt $pkgdir/usr/share/mirrorlist/hyperbola
  18. mkdir -p $pkgdir/usr/share/licenses/hyperbola-mirrorlist
  19. install -m644 $srcdir/legalcode.txt $pkgdir/usr/share/licenses/hyperbola-mirrorlist
  20. }