Files
guru/www-apps/jackett-bin/jackett-bin-0.17.348.ebuild
Aisha Tammy fa0dbf7cbc www-apps/jackett-bin: version bump to 0.17.348
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
2021-01-23 19:22:05 -05:00

38 lines
1.0 KiB
Bash

# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit systemd
DESCRIPTION="API Support for your favorite torrent trackers"
HOMEPAGE="https://github.com/Jackett/Jackett"
SRC_URI="
amd64? ( https://github.com/Jackett/Jackett/releases/download/v${PV}/Jackett.Binaries.LinuxAMDx64.tar.gz -> ${P}-amd64.tar.gz )
arm? ( https://github.com/Jackett/Jackett/releases/download/v${PV}/Jackett.Binaries.LinuxARM32.tar.gz -> ${P}-arm.tar.gz )
arm64? ( https://github.com/Jackett/Jackett/releases/download/v${PV}/Jackett.Binaries.LinuxARM64.tar.gz -> ${P}-arm64.tar.gz )
"
KEYWORDS="~amd64 ~arm ~arm64"
LICENSE="GPL-2"
SLOT="0"
RESTRICT="strip"
RDEPEND="
acct-user/jackett
app-crypt/mit-krb5
dev-libs/icu
dev-util/lttng-ust
"
QA_PREBUILT="*"
S="${WORKDIR}"/Jackett
src_install() {
dodir /opt/jackett
cp -a "${S}"/. "${ED}"/opt/jackett || die
newinitd "${FILESDIR}"/jackett.initd jackett
systemd_dounit "${FILESDIR}"/jackett.service
doenvd "${FILESDIR}"/99jackett
}