summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaansu2015-08-02 00:59:16 -0700
committerRaansu2015-08-02 00:59:16 -0700
commitb816cb2f21d650cd3bea9d1dd5d01bab6ecc748f (patch)
treea8d03c251079fea18b76e9c0161b2349ed376717
parent304f41a014a60c767c01f46c9cecc8f195ffc32b (diff)
downloadaur-b816cb2f21d650cd3bea9d1dd5d01bab6ecc748f.tar.gz
Update PKGBUILD with correct pkgver
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 392f54e4216..c033fbcb936 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = clam-git
pkgdesc = The most widely held crypto-currency ever! This package provides both the GUI QT4 and daemon clients.
- pkgver = 1.4.16
+ pkgver = 1.4.5.135.gc7b62b5
pkgrel = 1
url = http://www.clamclient.com
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 3322cce033d..233d5585b3b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname='clam-git'
_gitname=clams
-pkgver=1.4.16
+pkgver=1.4.5.135.gc7b62b5
pkgrel=1
arch=('any')
url="http://www.clamclient.com"
@@ -17,6 +17,11 @@ conflicts=('clam-qt' 'clamd')
source=("git://github.com/nochowderforyou/clams.git")
md5sums=('SKIP')
+pkgver() {
+ cd $srcdir/$_gitname
+ git describe | sed "s/^v//; s/-/./g"
+}
+
build() {
cd $srcdir/$_gitname
./autogen.sh