summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Duell2016-08-30 16:45:20 +0200
committerMichael Duell2016-08-30 16:55:31 +0200
commit838154014c3de6e3edbe6a6f9c4985f291359b9f (patch)
tree5fe29808b41d4c0e68581c159df4d2550d7ae558
parentd313c1b8d0789bbfe3721bae53baa53109c3c97f (diff)
downloadaur-838154014c3de6e3edbe6a6f9c4985f291359b9f.tar.gz
Added meaningful pkgver()
Signed-off-by: Michael Duell <michael.duell@rub.de>
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b02cb7da05e1..16ff1d8fdca6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
# Generated by mksrcinfo v8
-# Wed Feb 24 18:38:06 UTC 2016
+# Tue Aug 30 14:42:17 UTC 2016
pkgbase = rtl-sdr-git
pkgdesc = Tuner for DVB-T sticks based on the Realtek RTL2832U, which can be used as a cheap SDR, since the chip allows transferring the raw I/Q samples to the host.
- pkgver = 20160224
+ pkgver = v0.5.3.r12.ge3c03f7
pkgrel = 1
+ epoch = 1
url = http://sdr.osmocom.org/trac/wiki/rtl-sdr
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index b9ee83db14de..af6acb035f57 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,8 @@
pkgname=rtl-sdr-git
pkgrel=1
-pkgver=20160224
+pkgver=v0.5.3.r12.ge3c03f7
+epoch=1
pkgdesc="Tuner for DVB-T sticks based on the Realtek RTL2832U, which can be used as a cheap SDR, since the chip allows transferring the raw I/Q samples to the host."
arch=('i686' 'x86_64')
url="http://sdr.osmocom.org/trac/wiki/rtl-sdr"
@@ -14,7 +15,8 @@ source=('rtl-sdr::git://git.osmocom.org/rtl-sdr.git')
sha384sums=('SKIP')
pkgver() {
- date '+%Y%m%d'
+ cd "${srcdir}/rtl-sdr"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {