diff options
author | Mark Wagie | 2023-12-15 15:49:22 -0700 |
---|---|---|
committer | Mark Wagie | 2023-12-15 15:49:22 -0700 |
commit | 0ba0c789d218a700692f20d7d75527d24cd16651 (patch) | |
tree | 6798231941c26a0a37046b3ca79f3fe923b55079 | |
parent | fa648c0a187e62907feb3a38988a7020fef5e260 (diff) | |
download | aur-0ba0c789d218a700692f20d7d75527d24cd16651.tar.gz |
use tags
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = gnome-shell-extension-battery-health-charging-git pkgdesc = An extension to maximize the battery life of laptops by setting their charging threshold/modes. - pkgver = r295.72edc97 - pkgrel = 2 + pkgver = 42 + pkgrel = 1 url = https://github.com/maniacx/Battery-Health-Charging install = battery-health-charging.install arch = any @@ -1,8 +1,8 @@ # Maintainer: Mark Wagie <mark dot wagie at proton dot me> pkgname=gnome-shell-extension-battery-health-charging-git _uuid=Battery-Health-Charging@maniacx.github.com -pkgver=r295.72edc97 -pkgrel=2 +pkgver=42 +pkgrel=1 pkgdesc="An extension to maximize the battery life of laptops by setting their charging threshold/modes." arch=('any') url="https://github.com/maniacx/Battery-Health-Charging" @@ -17,7 +17,7 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/Battery-Health-Charging" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --tags | sed 's/^v0//;s/-GNOME45//;s/-/+/g' } build() { |