blob: 7f1b63936c74b3682833c05267d3bf71b99692a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Standalone Opera VPN proxies client"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="https://github.com/gentoo-golang-dist/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz"
LICENSE="MIT"
# Go dependency licenses
LICENSE+=" BSD BSD-2 MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
ego build -o opera-proxy
}
src_install() {
dobin opera-proxy
einstalldocs
newinitd "${FILESDIR}"/opera-proxy.initd opera-proxy
}
|