diff options
author | Mark Wagie | 2023-12-16 12:57:09 -0700 |
---|---|---|
committer | Mark Wagie | 2023-12-16 12:57:09 -0700 |
commit | 5fd507e98367d7db332a4422e28bb468a7196167 (patch) | |
tree | a63cdb9ff94bee375ae7db78d5c2175c2e09f38a | |
parent | 1a217a2229019073aa9eb0b2b1d9d1d8b2a5fabe (diff) | |
download | aur-5fd507e98367d7db332a4422e28bb468a7196167.tar.gz |
actually correct pkgver
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ 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 = 42+2+gede2217 + pkgver = 42.r2.gede2217 pkgrel = 1 url = https://github.com/maniacx/Battery-Health-Charging install = battery-health-charging.install @@ -1,7 +1,7 @@ # 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=42+2+gede2217 +pkgver=42.r2.gede2217 pkgrel=1 pkgdesc="An extension to maximize the battery life of laptops by setting their charging threshold/modes." arch=('any') @@ -17,7 +17,7 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/Battery-Health-Charging" - git describe --long --tags | sed 's/^v0//;s/-GNOME45//;s/-/+/g' + git describe --long --tags | sed 's/^v0//;s/-GNOME45//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |