diff options
author | Craig Andrews <candrews@gentoo.org> | 2024-03-28 10:03:50 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2024-03-28 10:04:15 -0400 |
commit | 134ce2b2d0009f6167d42159480da76bcb532982 (patch) | |
tree | 61cdc96e9b1903aeacc185ee964ca84d8b35afb9 /www-apps/prowlarr-bin/prowlarr-bin-1.15.0.4361.ebuild | |
parent | www-apps/sonarr-bin: drop 4.0.2.1367 (diff) | |
download | gentoo-134ce2b2d0009f6167d42159480da76bcb532982.tar.gz gentoo-134ce2b2d0009f6167d42159480da76bcb532982.tar.bz2 gentoo-134ce2b2d0009f6167d42159480da76bcb532982.zip |
www-apps/prowlarr-bin: add 1.15.0.4361
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'www-apps/prowlarr-bin/prowlarr-bin-1.15.0.4361.ebuild')
-rw-r--r-- | www-apps/prowlarr-bin/prowlarr-bin-1.15.0.4361.ebuild | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/www-apps/prowlarr-bin/prowlarr-bin-1.15.0.4361.ebuild b/www-apps/prowlarr-bin/prowlarr-bin-1.15.0.4361.ebuild new file mode 100644 index 000000000000..2c9c3707ba6b --- /dev/null +++ b/www-apps/prowlarr-bin/prowlarr-bin-1.15.0.4361.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +DESCRIPTION="An indexer manager/proxy to integrate with your various PVR apps" +HOMEPAGE="https://wiki.servarr.com/prowlarr/ + https://github.com/Prowlarr/Prowlarr/" + +SRC_URI=" + amd64? ( + elibc_glibc? ( + https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-core-x64.tar.gz + ) + elibc_musl? ( + https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-musl-core-x64.tar.gz + ) + ) + arm? ( + elibc_glibc? ( + https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-core-arm.tar.gz + ) + elibc_musl? ( + https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-musl-core-arm.tar.gz + ) + ) + arm64? ( + elibc_glibc? ( + https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-core-arm64.tar.gz + ) + elibc_musl? ( + https://github.com/Prowlarr/Prowlarr/releases/download/v${PV}/Prowlarr.master.${PV}.linux-musl-core-arm64.tar.gz + ) + ) +" +S="${WORKDIR}/Prowlarr" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64" +RESTRICT="bindist strip test" + +RDEPEND=" + acct-group/prowlarr + acct-user/prowlarr + dev-libs/icu + dev-util/lttng-ust:0 + dev-db/sqlite +" + +QA_PREBUILT="*" + +src_prepare() { + default + + # https://github.com/dotnet/runtime/issues/57784 + rm libcoreclrtraceptprovider.so Prowlarr.Update/libcoreclrtraceptprovider.so || die +} + +src_install() { + newinitd "${FILESDIR}/prowlarr.init" prowlarr + + keepdir /var/lib/prowlarr + fowners -R prowlarr:prowlarr /var/lib/prowlarr + + insinto /etc/logrotate.d + insopts -m0644 -o root -g root + newins "${FILESDIR}/prowlarr.logrotate" prowlarr + + dodir "/opt/prowlarr" + cp -R "${S}/." "${D}/opt/prowlarr" || die "Install failed!" + + systemd_dounit "${FILESDIR}/prowlarr.service" + systemd_newunit "${FILESDIR}/prowlarr.service" "prowlarr@.service" +} |