summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichael Niewoehner2018-02-03 11:25:04 +0100
committerMichael Niewoehner2018-02-03 11:25:04 +0100
commit37306a59fb7145c41b0a1a3b8463718777c61c73 (patch)
tree40eaa4ec95218af35105f857b8cba94fb0c541ab /PKGBUILD
parent27fbdc420d3cffbf21e4c5e913078be18563eb6b (diff)
downloadaur-thinkpad_wmi-dkms.tar.gz
Fix pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2fdb205182c..5e217261ef2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
basename=thinkpad-wmi
pkgname=thinkpad_wmi-dkms
-pkgver=20180203.12
+pkgver=r12.aa470c9
pkgrel=1
pkgdesc="DKMS controlled modules for ThinkPad's WMI Bios Settings functionality"
arch=('x86_64')
@@ -17,7 +17,7 @@ md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${basename}"
- echo "$(git log -1 --format="%cd" --date=short | sed 's|-||g').$(git rev-list --count master)"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {