summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Schouten2017-02-26 19:35:38 +1100
committerRafael Schouten2017-02-26 19:35:38 +1100
commit3c2469711fb37d2b546151552cd210dc31648254 (patch)
treeaa523065d00959bca5f3b86e3d3264fd5043e829
parentae51a7ce5d2e79ecd3e6b28063357e299367b5a6 (diff)
downloadaur-3c2469711fb37d2b546151552cd210dc31648254.tar.gz
use revision count as version, and bump epoch
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dffea08a6271..be1e2b0c9d23 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,6 +2,7 @@
pkgname=cropgui-git
pkgver=349125
pkgrel=1
+epoch=1
pkgdesc="A GTK GUI for lossless JPEG cropping (and rotating)"
arch=('any')
url="https://emergent.unpythonic.net/01248401946"
@@ -16,7 +17,7 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
- git describe --always | sed -e 's|-|.|g' -e '1s|^.||'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {