tun2socks: Bump to 2.5.2
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
23
net-misc/tun2socks/tun2socks-2.5.2.ebuild
Normal file
23
net-misc/tun2socks/tun2socks-2.5.2.ebuild
Normal file
@@ -0,0 +1,23 @@
|
||||
EAPI="8"
|
||||
|
||||
inherit go-module
|
||||
|
||||
HOMEPAGE="https://github.com/xjasonlyu/tun2socks"
|
||||
SRC_URI="https://github.com/xjasonlyu/tun2socks/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://git.bitplumber.de/api/packages/stkn/generic/gentoo-overlay/distfiles/${P}-vendor.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="amd64"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
ego build \
|
||||
-ldflags "-X 'github.com/xjasonlyu/tun2socks/v2/internal/version.Version=${PV}' -X 'github.com/xjasonlyu/tun2socks/v2/internal/version.GitCommit=Gentoo ${PF}'"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin tun2socks
|
||||
}
|
||||
Reference in New Issue
Block a user