summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2014-04-23 12:32:28 +0300
committerAdrian Perez de Castro2015-07-14 18:12:03 +0300
commit30ec799d1a3565149939e330fcf2079fa206d7b8 (patch)
treed206e10417c1e1a9220a8e0ef6d28e01aec0361c
parent5ea40efb58b7d61d6a59ee09eda5e0f6e7a26ab3 (diff)
downloadaur-30ec799d1a3565149939e330fcf2079fa206d7b8.tar.gz
Nicer version numbers
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9a8a291850b..b7cb146b811 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = reop-git
pkgdesc = Utility to create and verifies cryptographic signatures
- pkgver = 3be90e2
+ pkgver = 11
pkgrel = 1
url = https://github.com/tedu/reop/
arch = arm
diff --git a/PKGBUILD b/PKGBUILD
index cb7d1ee7292..7f296bba707 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname='reop-git'
pkgrel=1
-pkgver=3be90e2
+pkgver=11
pkgdesc='Utility to create and verifies cryptographic signatures'
url='https://github.com/tedu/reop/'
license=('MIT')
@@ -12,7 +12,7 @@ md5sums=('SKIP')
pkgver () {
cd "${srcdir}/reop"
- git show-ref --hash --abbrev HEAD
+ printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build () {