parent
7946e5c9e8
commit
f82208ba4f
@ -1,2 +1,3 @@
|
||||
DIST TorrServer-linux-amd64-106 18915328 BLAKE2B 449d66be1c17188b571940d74abb06e7be21e7e67c6df73fbb5a2589e2419e9245219867fcdb82cd1fdf6af76a2d8ad0390f3ced163ce2ec3e6188fb24a20c8c SHA512 afaf28674e4350ad6802f21f7a6f0d6a259cbd8bdc3fa240d73247bfb776a64959de08003edfe15975836ee21514bed4f418bbc3d56314de273f8c1b3858c7f3
|
||||
DIST TorrServer-linux-amd64-109 19066880 BLAKE2B d075cdfe27bde7efbd13ed84cd3f7483fe7f1e06e13b185a09c9644272740315bc7e84fece07476e86c2630998fdd7e1e315735ae687fc564de0aec4c9c5d742 SHA512 7395b86ea851fdf3c6a0615fffe6c6d1c1da80f910c02cd25d6ba97d21f789ad763b4dc1aa8611480d22fbad2b4ff935cfec9f4fa9fce95eb76361b5ee3a95d1
|
||||
DIST TorrServer-linux-amd64-110 19107840 BLAKE2B 8573a7da0ef305b70469408d1b1c1cd748bbb197f50a82d1fe07167b0328925d5ba80e7ae645164f187bbcdaa57c3c24f52a6840ac15d85f1653e185d25688a2 SHA512 cff269e30d10d89fa518cfa3911261798726b830bd1f6b942056503a48d12e3bd17938f1db4c713cf278093ebe8d16e2837078793c2a8f0299e38b8f3a801a93
|
||||
|
@ -0,0 +1,35 @@
|
||||
# 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