summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmolith2024-02-21 15:48:23 -0500
committerAmolith2024-02-21 15:48:23 -0500
commitb4f51f7c02c4eba7096f27f944e5492af4c7a8e6 (patch)
tree39aac2a4c59136c6fa69e17799de53c41af02a95
parent93de87062f3557ee3a5a0c824b18053cafc391c6 (diff)
downloadaur-b4f51f7c02c4eba7096f27f944e5492af4c7a8e6.tar.gz
Provide -git, depend on -git, conflict with not
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 983165a49b1e..5fba91e8c127 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = watt-wiser-sensors-git
pkgdesc = A software energy consumption estimation tool
pkgver = r155.3f4d719
- pkgrel = 1
+ pkgrel = 2
url = https://git.sr.ht/~whereswaldon/watt-wiser
arch = any
license = Unlicense
@@ -9,8 +9,10 @@ pkgbase = watt-wiser-sensors-git
makedepends = go
makedepends = gcc
makedepends = lm_sensors
- provides = watt-wiser-sensors
+ provides = watt-wiser-sensors-git
+ conflicts = watt-wiser-sensors-git
conflicts = watt-wiser-sensors
+ conflicts = watt-wiser
source = watt-wiser::git+https://git.sr.ht/~whereswaldon/watt-wiser#branch=main
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index fbf4cc71ba50..bb576d76dcaf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,13 +7,13 @@ arch=("any")
url="https://git.sr.ht/~whereswaldon/$_repo"
_branch='main'
pkgver=r155.3f4d719
-pkgrel=1
+pkgrel=2
license=("Unlicense")
makedepends=("git" "go" "gcc" "lm_sensors")
source=("$_repo::git+$url#branch=$_branch")
sha256sums=("SKIP")
-provides=($_pkgname)
-conflicts=($_pkgname)
+provides=($pkgname)
+conflicts=("$pkgname" "watt-wiser-sensors" "watt-wiser")
pkgver() {
cd "$_repo"