summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRicardo Vieira2016-02-19 14:38:40 +0000
committerRicardo Vieira2016-02-19 14:40:45 +0000
commitdeb4d62b24ddeec9a6f3a431fa580c3d368fbb1c (patch)
treefca6228d4e447775d056ebcb3dc9e0bfa2c47f95 /PKGBUILD
parent747bb9c2c08b526b0522a8a2d955fb40c49afa38 (diff)
downloadaur-deb4d62b24ddeec9a6f3a431fa580c3d368fbb1c.tar.gz
Change pkgver function to the recomended in the wiki
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5dc937a7a35..db6476705c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Ricardo Vieira <ricardo.vieira@tecnico.ulisboa.pt>
pkgname=liquid-dsp-git
-pkgver=v1.2.0.r1208.baea5f9
+pkgver=v1.2.0.r1252.gd1031be
pkgrel=1
pkgdesc="Digital signal processing library for software-defined radios"
arch=('x86_64')
@@ -23,7 +23,7 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {