[arch-commits] Commit in rtl-sdr/trunk (PKGBUILD)

Kyle Keen kkeen at nymeria.archlinux.org
Tue Nov 5 21:28:32 UTC 2013


    Date: Tuesday, November 5, 2013 @ 22:28:32
  Author: kkeen
Revision: 100561

upgpkg: rtl-sdr 20131105-1

Modified:
  rtl-sdr/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-11-05 20:58:10 UTC (rev 100560)
+++ PKGBUILD	2013-11-05 21:28:32 UTC (rev 100561)
@@ -5,8 +5,8 @@
 pkgname=rtl-sdr
 # they are just starting to play with tags
 # consider using tags for the pkgver in the future
-pkgver=20131024
-_commit=dbede4e3c0a
+pkgver=20131105
+_commit=c5b8a2130007
 pkgrel=1
 pkgdesc="Driver for Realtek RTL2832U, allowing general purpose software defined radio (SDR)."
 arch=('i686' 'x86_64')
@@ -24,6 +24,11 @@
 
 _gitname="rtl-sdr"
 
+pkgver() {
+  cd "$srcdir/$_gitname"
+  git show -s --format="%ci" HEAD | sed -e 's/-//g' -e 's/ .*//'
+}
+
 build() {
   cd "$srcdir/$_gitname"
   mkdir build
@@ -36,8 +41,8 @@
 package() {
   cd "$srcdir/$_gitname/build"
   make DESTDIR="$pkgdir" install
-  install -D -m644 "$srcdir/$_gitname/rtl-sdr.rules" "$pkgdir/usr/lib/udev/rules.d/10-rtl-sdr.rules"
-  install -D -m644 "$srcdir/rtlsdr.conf" "$pkgdir/etc/modprobe.d/rtlsdr.conf"
+  install -Dm644 "$srcdir/$_gitname/rtl-sdr.rules" "$pkgdir/usr/lib/udev/rules.d/10-rtl-sdr.rules"
+  install -Dm644 "$srcdir/rtlsdr.conf" "$pkgdir/etc/modprobe.d/rtlsdr.conf"
 }
 
 # vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list