aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-07 08:48:35 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-07 08:49:36 +0200
commitcaaa5ba57e69813f7ebf1bf8ec269a15b475c247 (patch)
tree1d01c9795603fa297b5a9d22b24dbe447f6a073f /sys-power
parentapp-office/sc-im: re-add xlsx export support (diff)
downloadguru-caaa5ba57e69813f7ebf1bf8ec269a15b475c247.tar.gz
guru-caaa5ba57e69813f7ebf1bf8ec269a15b475c247.tar.bz2
guru-caaa5ba57e69813f7ebf1bf8ec269a15b475c247.zip
sys-power/fan2go: update HOMEPAGE
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/fan2go/fan2go-0.6.2.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys-power/fan2go/fan2go-0.6.2.ebuild b/sys-power/fan2go/fan2go-0.6.2.ebuild
index bde9e1e92..d9712d74b 100644
--- a/sys-power/fan2go/fan2go-0.6.2.ebuild
+++ b/sys-power/fan2go/fan2go-0.6.2.ebuild
@@ -5,7 +5,6 @@ EAPI=8
inherit go-module systemd
-EGO_PN="github.com/markusressel/fan2go"
EGO_SUM=(
"cloud.google.com/go v0.26.0/go.mod"
"cloud.google.com/go v0.34.0/go.mod"
@@ -595,26 +594,29 @@ SRC_URI="
https://github.com/markusressel/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
${EGO_SUM_SRC_URI}
"
-HOMEPAGE="https://github.com/markusressel/wego"
+HOMEPAGE="https://github.com/markusressel/fan2go"
LICENSE="AGPL-3" # golicense doesn't work
SLOT="0"
KEYWORDS="~amd64"
+DEPEND="sys-apps/lm-sensors"
+RDEPEND="${DEPEND}"
+
src_compile() {
SOURCE_DATE_EPOCH=$(date +%s || die)
DATE=$(date -u -d @${SOURCE_DATE_EPOCH} +"%Y-%m-%dT%H:%M:%SZ" || die)
- go \
+ ego \
build \
+ -o fan2go \
-x \
-v \
${GOFLAGS} \
- -ldflags "-w -s -X fan2go/cmd.version=${PV} -X fan2go/cmd.date=${DATE}" \
+ -ldflags "-X fan2go/cmd.version=${PV} -X fan2go/cmd.date=${DATE}" \
-a \
-tags netgo \
- -o fan2go \
- || die
+ .
}
src_install() {