summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLeonidas P2021-12-15 19:08:00 +0200
committerLeonidas P2021-12-15 19:08:00 +0200
commite307eae5243df81f332df573748b66bffc74a59c (patch)
treecfbaaeb390beaf4e5a341c560e0886cdd36845e4 /PKGBUILD
parentc0859948cd7a271be14cfd84dd4920d4957a0cc8 (diff)
downloadaur-e307eae5243df81f332df573748b66bffc74a59c.tar.gz
update version scheme
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8ce15455a556..0b6ac8e2eec0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,9 @@
# Contributor: Vincent Bernardoff <vb AT luminar.eu.org>
pkgname=mmc-utils-git
-pkgver=a1b233c
+pkgver=r88.a1b233c
pkgrel=1
+epoch=1
pkgdesc="Userspace tools for MMC/SD devices"
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
url="https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git"
@@ -16,7 +17,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
- git describe --always --dirty --tags | sed -e 's/-/./g'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {