net-p2p/torrserver: исправлен ebuild

mhiretskiy 2593
parent 031d680989
commit 6b2871b4f3

@ -1 +1,2 @@
DIST TorrServer-linux-amd64 14151680 BLAKE2B 317014787256b5322a1fdbf0651f3624fc7f1ad3121b69119d4b077555b33cfcd9486aea05eb923ebac77f1e484e8df66dfdf2eace89a21f08ec4cc70a549f4d SHA512 a4c732694cd8c022ca22b4ef22c198799d248dfdf101e06bda3ed936684b46494739119d64182f7eb4703bc630402f2f3e80f77c383d0821fbad930929a54ae0
DIST TorrServer-linux-amd64-104 14151680 BLAKE2B 317014787256b5322a1fdbf0651f3624fc7f1ad3121b69119d4b077555b33cfcd9486aea05eb923ebac77f1e484e8df66dfdf2eace89a21f08ec4cc70a549f4d SHA512 a4c732694cd8c022ca22b4ef22c198799d248dfdf101e06bda3ed936684b46494739119d64182f7eb4703bc630402f2f3e80f77c383d0821fbad930929a54ae0
DIST TorrServer-linux-amd64-105 14794752 BLAKE2B 6d3b6836596fbc519a81780b4ca51ad39493b076b70fc0f7de3aace46fde45165239070bc0bfcd791e3997ef4f3b532048dbefc9cc661787aaeb5839c3bef87f SHA512 d4e6a9a4624585c393bd652d44379aad2c30401d8b6989137ac1afcd465a4405c23865985b7c73bb71faf57cf1b7694bab7de02892ac6a6dae8ae3ea346062cb

@ -6,7 +6,7 @@ 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 )
amd64? ( https://github.com/YouROK/TorrServer/releases/download/MatriX.${PV}/TorrServer-linux-amd64 -> TorrServer-linux-amd64-${PV} )
"
KEYWORDS="~amd64"
@ -28,7 +28,7 @@ src_unpack() {
src_install() {
dodir /opt/torrserver
cp "${S}"/TorrServer-linux-amd64 "${ED}"/opt/torrserver || die
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

@ -6,7 +6,7 @@ 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 )
amd64? ( https://github.com/YouROK/TorrServer/releases/download/MatriX.${PV}/TorrServer-linux-amd64 -> TorrServer-linux-amd64-${PV} )
"
KEYWORDS="~amd64"
@ -28,7 +28,7 @@ src_unpack() {
src_install() {
dodir /opt/torrserver
cp "${S}"/TorrServer-linux-amd64 "${ED}"/opt/torrserver || die
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…
Cancel
Save