forked from calculate/calculate-overlay
parent
6b2871b4f3
commit
82139ace3d
@ -1,2 +1 @@
|
||||
DIST TorrServer-linux-amd64-104 14151680 BLAKE2B 317014787256b5322a1fdbf0651f3624fc7f1ad3121b69119d4b077555b33cfcd9486aea05eb923ebac77f1e484e8df66dfdf2eace89a21f08ec4cc70a549f4d SHA512 a4c732694cd8c022ca22b4ef22c198799d248dfdf101e06bda3ed936684b46494739119d64182f7eb4703bc630402f2f3e80f77c383d0821fbad930929a54ae0
|
||||
DIST TorrServer-linux-amd64-105 14794752 BLAKE2B 6d3b6836596fbc519a81780b4ca51ad39493b076b70fc0f7de3aace46fde45165239070bc0bfcd791e3997ef4f3b532048dbefc9cc661787aaeb5839c3bef87f SHA512 d4e6a9a4624585c393bd652d44379aad2c30401d8b6989137ac1afcd465a4405c23865985b7c73bb71faf57cf1b7694bab7de02892ac6a6dae8ae3ea346062cb
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="TorrServer, stream torrent to http"
|
||||
HOMEPAGE="https://github.com/YouROK/TorrServer"
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/YouROK/TorrServer/releases/download/MatriX.${PV}/TorrServer-linux-amd64 -> TorrServer-linux-amd64-${PV} )
|
||||
"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="
|
||||
acct-user/torrserver
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
cp -v ${DISTDIR}/${A} ${S}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/torrserver
|
||||
cp "${S}"/TorrServer-linux-amd64-${PV} "${ED}"/opt/torrserver/TorrServer-linux-amd64 || die
|
||||
fperms 0755 /opt/torrserver/TorrServer-linux-amd64
|
||||
newinitd "${FILESDIR}"/torrserver.initd torrserver
|
||||
doenvd "${FILESDIR}"/99torrserver
|
||||
}
|
Loading…
Reference in new issue