summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/trickster/trickster-1.1.5.ebuild')
-rw-r--r--www-apps/trickster/trickster-1.1.5.ebuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/www-apps/trickster/trickster-1.1.5.ebuild b/www-apps/trickster/trickster-1.1.5.ebuild
index 8f4e9be4ae1f..94496cb5ca4d 100644
--- a/www-apps/trickster/trickster-1.1.5.ebuild
+++ b/www-apps/trickster/trickster-1.1.5.ebuild
@@ -7,9 +7,7 @@ inherit go-module systemd
DESCRIPTION="Dashboard Accelerator for Prometheus"
HOMEPAGE="https://github.com/tricksterproxy/trickster"
-VENDOR_URI="https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.xz"
-SRC_URI="https://github.com/tricksterproxy/trickster/archive/v${PV}.tar.gz -> ${P}.tar.gz
- ${VENDOR_URI}"
+SRC_URI="https://github.com/tricksterproxy/trickster/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
@@ -21,11 +19,6 @@ COMMON_DEPEND="
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
-src_prepare() {
- default
- mv ../vendor .
-}
-
src_compile() {
set -- go build -mod vendor ./cmd/trickster
echo $@
@@ -34,8 +27,8 @@ src_compile() {
src_install() {
dobin ${PN}
-dodoc -r conf docs/*
- systemd_dounit conf/trickster.service
+dodoc -r docs/*
+ systemd_dounit deploy/systemd/trickster.service
insinto /etc/trickster
doins "${FILESDIR}"/${PN}.conf
newinitd "${FILESDIR}"/${PN}.initd ${PN}