diff options
author | Amolith | 2024-01-05 17:34:34 -0500 |
---|---|---|
committer | Amolith | 2024-01-05 17:35:52 -0500 |
commit | 050790c56bf290594675a9fb257774645435d907 (patch) | |
tree | c71f0a2a1ee4f939cf23ae76010fce5b81ae135a | |
parent | 71f6aa1ceb4079ff1889f17ce49134971cf9e490 (diff) | |
download | aur-050790c56bf290594675a9fb257774645435d907.tar.gz |
Build binary from correct package
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = watt-wiser-sensors-git pkgdesc = A software energy consumption estimation tool pkgver = r68.ff39752 - pkgrel = 1 + pkgrel = 2 url = https://git.sr.ht/~whereswaldon/watt-wiser arch = any license = Unlicense @@ -7,7 +7,7 @@ arch=("any") url="https://git.sr.ht/~whereswaldon/$_repo" _branch='main' pkgver=r68.ff39752 -pkgrel=1 +pkgrel=2 license=("Unlicense") makedepends=("git" "go" "gcc" "lm_sensors") source=("$_repo::git+$url#branch=$_branch") @@ -32,7 +32,7 @@ build() { export CGO_CXXFLAGS="${CXXFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" - go build -o "$_pkgname" . + go build -o "$_pkgname" ./cmd/watt-wiser-sensors } check() { |