summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Vieira2016-02-19 14:38:40 +0000
committerRicardo Vieira2016-02-19 14:40:45 +0000
commitdeb4d62b24ddeec9a6f3a431fa580c3d368fbb1c (patch)
treefca6228d4e447775d056ebcb3dc9e0bfa2c47f95
parent747bb9c2c08b526b0522a8a2d955fb40c49afa38 (diff)
downloadaur-deb4d62b24ddeec9a6f3a431fa580c3d368fbb1c.tar.gz
Change pkgver function to the recomended in the wiki
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 425269b3229..334cd0be305 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Fri Feb 19 14:38:10 UTC 2016
pkgbase = liquid-dsp-git
pkgdesc = Digital signal processing library for software-defined radios
- pkgver = v1.2.0.r1208.baea5f9
+ pkgver = v1.2.0.r1252.gd1031be
pkgrel = 1
url = http://liquidsdr.org
arch = x86_64
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() {