summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorvalvetime2016-02-12 21:05:15 +0200
committervalvetime2016-02-12 21:05:15 +0200
commit2a1f5ac7fe21162b1746c2a169d0422a92e6ad1d (patch)
treef7723ef5ce8a29448ce95d5334f254652fd3c6c4
parente9f8618f9f0ae3b3511034cff1e8e4a682b40129 (diff)
downloadaur-2a1f5ac7fe21162b1746c2a169d0422a92e6ad1d.tar.gz
switched to git versioning
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD7
2 files changed, 9 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4af631057b7..76ea52a6b28 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
# Generated by mksrcinfo v8
-# Fri Dec 25 15:24:44 UTC 2015
+# Fri Feb 12 19:04:53 UTC 2016
pkgbase = soapyrtlsdr-git
pkgdesc = SoapySDR RTL-SDR Support Module
- pkgver = 20151225
+ pkgver = r53.a44abc3
pkgrel = 1
+ epoch = 2
url = https://github.com/pothosware/SoapySDR
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 78bada84532..fd5c2cddcac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,9 @@
# Contributor: Tom Swartz <tom@tswartz.net>
pkgname=soapyrtlsdr-git
-pkgver=20151225
+pkgver=r53.a44abc3
pkgrel=1
+epoch=2
pkgdesc="SoapySDR RTL-SDR Support Module"
arch=('any')
url="https://github.com/pothosware/SoapySDR"
@@ -13,6 +14,10 @@ makedepends=('git')
source=(${pkgname}::"git+https://github.com/pothosware/SoapyRTLSDR.git")
sha256sums=('SKIP')
+pkgver() {
+ cd "$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
build() {
cd "${srcdir}/${pkgname}"