1 |
commit: a6aae66475f6a56ad3a3512bb28c63e94bfdd127 |
2 |
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
3 |
AuthorDate: Sat Apr 17 11:20:26 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Sat Apr 17 11:20:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a6aae664 |
7 |
|
8 |
www-apps/jackett-bin: add a new live ebuild |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> |
12 |
|
13 |
www-apps/jackett-bin/jackett-bin-9999.ebuild | 45 ++++++++++++++++++++++++++++ |
14 |
1 file changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/www-apps/jackett-bin/jackett-bin-9999.ebuild b/www-apps/jackett-bin/jackett-bin-9999.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000..b3aa14a71 |
19 |
--- /dev/null |
20 |
+++ b/www-apps/jackett-bin/jackett-bin-9999.ebuild |
21 |
@@ -0,0 +1,45 @@ |
22 |
+# Copyright 2019-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+# cvs inherit hack for making it live |
28 |
+inherit cvs systemd unpacker |
29 |
+ |
30 |
+DESCRIPTION="API Support for your favorite torrent trackers" |
31 |
+HOMEPAGE="https://github.com/Jackett/Jackett" |
32 |
+ |
33 |
+LICENSE="GPL-2" |
34 |
+SLOT="0" |
35 |
+RESTRICT="strip" |
36 |
+ |
37 |
+RDEPEND=" |
38 |
+ acct-user/jackett |
39 |
+ app-crypt/mit-krb5 |
40 |
+ dev-libs/icu |
41 |
+ dev-util/lttng-ust |
42 |
+" |
43 |
+ |
44 |
+QA_PREBUILT="*" |
45 |
+S="${WORKDIR}"/Jackett |
46 |
+ |
47 |
+src_unpack() { |
48 |
+ local PKG_BASE_URL="https://github.com/Jackett/Jackett/releases/latest/download/" |
49 |
+ local PKG_NAME="Jackett.Binaries.LinuxSUBSTVAR.tar.gz" |
50 |
+ local PKG_URL |
51 |
+ use amd64 && PKG_NAME="${PKG_NAME/SUBSTVAR/AMDx64}" |
52 |
+ use arm && PKG_NAME="${PKG_NAME/SUBSTVAR/ARM32}" |
53 |
+ use arm64 && PKG_NAME="${PKG_NAME/SUBSTVAR/ARM64}" |
54 |
+ PKG_URL="${PKG_BASE_URL}${PKG_NAME}" |
55 |
+ einfo "Fetching ${PKG_URL}" |
56 |
+ wget "${PKG_URL}" || die |
57 |
+ unpacker "${PKG_NAME}" |
58 |
+} |
59 |
+ |
60 |
+src_install() { |
61 |
+ dodir /opt/jackett |
62 |
+ cp -a "${S}"/. "${ED}"/opt/jackett || die |
63 |
+ newinitd "${FILESDIR}"/jackett.initd jackett |
64 |
+ systemd_dounit "${FILESDIR}"/jackett.service |
65 |
+ doenvd "${FILESDIR}"/99jackett |
66 |
+} |