summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonne Haß2015-07-17 10:12:27 +0200
committerJonne Haß2015-07-17 10:12:27 +0200
commitb4b8f15f0454d80affd9de20efd6e9b59e3f29b5 (patch)
tree6893d6e41255b039a71000867ceb3e4f39518bbe
parentc4c11e17e2ff535a791cd4e65b518eb6df7bb56f (diff)
downloadaur-b4b8f15f0454d80affd9de20efd6e9b59e3f29b5.tar.gz
snazzer-git: fix pkgver
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f8a8b66ebad..12f62dbd796 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = snazzer-git
pkgdesc = btrfs snapshotting and backup system offering snapshot measurement, transport and pruning.
- pkgver = 0
+ pkgver = r146.8d85449
pkgrel = 1
url = https://github.com/csirac2/snazzer
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index a1617286f05..8d880c46f15 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jonne Haß <me@jhass.eu>
pkgname=snazzer-git
-pkgver=0
+pkgver=r146.8d85449
pkgrel=1
pkgdesc="btrfs snapshotting and backup system offering snapshot measurement, transport and pruning. "
arch=('any')
@@ -9,7 +9,7 @@ license=('BSD')
depends=('btrfs-progs')
source=("git+https://github.com/csirac2/snazzer.git")
-prepare() {
+pkgver() {
cd "snazzer"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}