diff options
author | Amolith | 2024-02-21 15:48:23 -0500 |
---|---|---|
committer | Amolith | 2024-02-21 15:48:23 -0500 |
commit | b4f51f7c02c4eba7096f27f944e5492af4c7a8e6 (patch) | |
tree | 39aac2a4c59136c6fa69e17799de53c41af02a95 | |
parent | 93de87062f3557ee3a5a0c824b18053cafc391c6 (diff) | |
download | aur-b4f51f7c02c4eba7096f27f944e5492af4c7a8e6.tar.gz |
Provide -git, depend on -git, conflict with not
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 5 deletions
@@ -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 @@ -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" |