diff options
author | Michael Duell | 2016-08-30 16:45:20 +0200 |
---|---|---|
committer | Michael Duell | 2016-08-30 16:55:31 +0200 |
commit | 838154014c3de6e3edbe6a6f9c4985f291359b9f (patch) | |
tree | 5fe29808b41d4c0e68581c159df4d2550d7ae558 | |
parent | d313c1b8d0789bbfe3721bae53baa53109c3c97f (diff) | |
download | aur-838154014c3de6e3edbe6a6f9c4985f291359b9f.tar.gz |
Added meaningful pkgver()
Signed-off-by: Michael Duell <michael.duell@rub.de>
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 4 deletions
@@ -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 @@ -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() { |