2022-04-14 19:05:35 +02:00
|
|
|
|
2019-09-03 23:35:29 +02:00
|
|
|
# Maintainer: Donald Webster <fryfrog@gmail.com>
|
2021-10-03 09:32:46 +02:00
|
|
|
# Co-Maintainer: Joaquín Rufo Gutierrez <joaquinito2051@gmail.com>
|
2015-06-20 03:56:05 +02:00
|
|
|
pkgname=jackett
|
2022-08-12 19:16:15 +02:00
|
|
|
pkgver=0.20.1685
|
2019-03-22 08:13:25 +01:00
|
|
|
pkgrel=1
|
2018-03-13 23:03:44 +01:00
|
|
|
pkgdesc='Use many torrent trackers with software that supports torznab/potato feeds.'
|
2019-03-21 18:02:05 +01:00
|
|
|
arch=('x86_64' 'aarch64' 'armv7h')
|
2015-06-20 03:56:05 +02:00
|
|
|
license=('GPL')
|
2015-11-11 15:21:26 +01:00
|
|
|
url='https://github.com/Jackett/Jackett'
|
2019-03-21 21:59:53 +01:00
|
|
|
depends=('curl' 'openssl-1.0')
|
2021-01-19 17:24:50 +01:00
|
|
|
optdepends=(
|
|
|
|
'flaresolverr: A proxy server to bypass Cloudflare protection'
|
|
|
|
)
|
2021-11-18 04:41:07 +01:00
|
|
|
makedepends=('dotnet-sdk>=6.0.0')
|
2019-03-21 18:02:05 +01:00
|
|
|
options=('!strip' 'staticlibs')
|
|
|
|
|
2020-10-31 17:50:09 +01:00
|
|
|
source=(
|
|
|
|
"${pkgname}-${pkgver}.tar.gz::https://github.com/Jackett/Jackett/archive/v${pkgver}.tar.gz"
|
|
|
|
'jackett.service'
|
|
|
|
'jackett.sysusers'
|
|
|
|
'jackett.tmpfiles'
|
|
|
|
)
|
|
|
|
|
2022-08-12 19:16:15 +02:00
|
|
|
sha256sums=('a8b8366173739bf2bfed5fad63cfeb4d24bfafd260c927459f6a9990f424a78a'
|
2020-10-31 17:50:09 +01:00
|
|
|
'9d8f9d73e5fa2b2877dde010c0d8ca6fbf47f03eb1f01b02f846026a949a0dcf'
|
2018-03-16 17:08:48 +01:00
|
|
|
'd005fcd009ec5404e1ec88246c31e664167f5551d6cabc35f68eb41750bfe590'
|
2018-05-15 19:20:52 +02:00
|
|
|
'64022e15565a609f449090f02d53ee90ef95cffec52ae14f99e4e2132b6cffe1')
|
2019-03-21 18:02:05 +01:00
|
|
|
|
2020-10-31 17:50:09 +01:00
|
|
|
build() {
|
|
|
|
cd ${pkgname^}-${pkgver}
|
2019-03-21 18:02:05 +01:00
|
|
|
|
2020-10-31 17:50:09 +01:00
|
|
|
case ${CARCH} in
|
|
|
|
x86_64) _CARCH='x64';;
|
|
|
|
aarch64) _CARCH='arm64';;
|
|
|
|
armv7h) _CARCH='arm';;
|
|
|
|
esac
|
2015-06-20 03:56:05 +02:00
|
|
|
|
2020-10-31 17:50:09 +01:00
|
|
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
2021-11-18 04:37:27 +01:00
|
|
|
dotnet publish src/Jackett.Server -f net6.0 --self-contained -r linux-${_CARCH} -c Debug -o buid/ /p:AssemblyVersion=${pkgver} /p:FileVersion=${pkgver} /p:InformationalVersion=${pkgver} /p:Version=${pkgver}
|
2020-10-31 17:50:09 +01:00
|
|
|
}
|
2015-06-20 03:56:05 +02:00
|
|
|
|
2020-10-31 17:50:09 +01:00
|
|
|
package() {
|
|
|
|
cd ${pkgname^}-${pkgver}
|
|
|
|
install -d -m 755 "${pkgdir}/usr/lib/jackett/"
|
|
|
|
cp -dpr --no-preserve=ownership buid/* "${pkgdir}/usr/lib/jackett/"
|
2018-03-13 23:03:44 +01:00
|
|
|
|
2020-10-31 17:50:09 +01:00
|
|
|
install -D -m 644 "${srcdir}/jackett.service" "${pkgdir}/usr/lib/systemd/system/jackett.service"
|
|
|
|
install -D -m 644 "${srcdir}/jackett.sysusers" "${pkgdir}/usr/lib/sysusers.d/jackett.conf"
|
|
|
|
install -D -m 644 "${srcdir}/jackett.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/jackett.conf"
|
2015-06-20 03:56:05 +02:00
|
|
|
}
|