PKGBUILD 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Co-Maintainer: txtsd <aur.archlinux@ihavea.quest>
  2. # Co-Maintainer: Joaquín Rufo Gutierrez <joaquinito2051@gmail.com>
  3. # Contributor: Donald Webster <fryfrog@gmail.com>
  4. pkgname=jackett-bin
  5. pkgver=0.20.3642
  6. pkgrel=1
  7. pkgdesc='Use many torrent trackers with software that supports torznab/potato feeds.'
  8. arch=('x86_64' 'aarch64' 'armv7h')
  9. license=('GPL')
  10. url='https://github.com/Jackett/Jackett'
  11. optdepends=(
  12. 'flaresolverr: A proxy server to bypass Cloudflare protection'
  13. )
  14. options=('!strip' 'staticlibs')
  15. provides=('jackett')
  16. conflicts=('jackett')
  17. source=("jackett.service"
  18. "jackett.sysusers"
  19. "jackett.tmpfiles")
  20. source_x86_64=("Jackett.Binaries.LinuxAMDx64-${pkgver}.tar.gz::https://github.com/Jackett/Jackett/releases/download/v${pkgver}/Jackett.Binaries.LinuxAMDx64.tar.gz")
  21. source_aarch64=("Jackett.Binaries.LinuxARM64-${pkgver}.tar.gz::https://github.com/Jackett/Jackett/releases/download/v${pkgver}/Jackett.Binaries.LinuxARM64.tar.gz")
  22. source_armv7h=("Jackett.Binaries.LinuxARM32-${pkgver}.tar.gz::https://github.com/Jackett/Jackett/releases/download/v${pkgver}/Jackett.Binaries.LinuxARM32.tar.gz")
  23. sha256sums=('9d8f9d73e5fa2b2877dde010c0d8ca6fbf47f03eb1f01b02f846026a949a0dcf'
  24. 'd005fcd009ec5404e1ec88246c31e664167f5551d6cabc35f68eb41750bfe590'
  25. '64022e15565a609f449090f02d53ee90ef95cffec52ae14f99e4e2132b6cffe1')
  26. sha256sums_x86_64=('bbb1f4b0cb8a106f0b4cdcd24c503bdc20f5f39093842ad99e7cf4133d512066')
  27. sha256sums_aarch64=('9df0cc8d71b1663ca9d8fee4d854c971ce69b2cd23617907b31c58163f7d11c5')
  28. sha256sums_armv7h=('161763b4f9a32d21cf3291f732878630b864f6deead70c2beb9aa247eccbe6c5')
  29. package() {
  30. cd "${srcdir}"
  31. install -d -m 755 "${pkgdir}/usr/lib/jackett/"
  32. cp -dpr --no-preserve=ownership "${srcdir}/Jackett/"* "${pkgdir}/usr/lib/jackett/"
  33. install -D -m 644 "${srcdir}/jackett.service" "${pkgdir}/usr/lib/systemd/system/jackett.service"
  34. install -D -m 644 "${srcdir}/jackett.sysusers" "${pkgdir}/usr/lib/sysusers.d/jackett.conf"
  35. install -D -m 644 "${srcdir}/jackett.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/jackett.conf"
  36. }