[arch-commits] Commit in hackrf/trunk (PKGBUILD hackrf.conf)
Kyle Keen
kkeen at archlinux.org
Sun Feb 22 18:58:57 UTC 2015
Date: Sunday, February 22, 2015 @ 19:58:57
Author: kkeen
Revision: 128114
upgpkg: hackrf 2014.08.1-2
Added:
hackrf/trunk/hackrf.conf
Modified:
hackrf/trunk/PKGBUILD
-------------+
PKGBUILD | 9 ++++++---
hackrf.conf | 2 ++
2 files changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-22 15:43:38 UTC (rev 128113)
+++ PKGBUILD 2015-02-22 18:58:57 UTC (rev 128114)
@@ -3,7 +3,7 @@
# Contributor: Dominik Heidler <dheidler at gmail.com>
pkgname=hackrf
pkgver=2014.08.1
-pkgrel=1
+pkgrel=2
pkgdesc="Driver for HackRF, allowing general purpose software defined radio (SDR)."
arch=('i686' 'x86_64')
url="https://github.com/mossmann/hackrf"
@@ -11,8 +11,10 @@
depends=('libusb')
makedepends=('cmake')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz")
-md5sums=('b2b22d8480bfb79822217fefbe778170')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz"
+ 'hackrf.conf')
+md5sums=('b2b22d8480bfb79822217fefbe778170'
+ '01ad1ba4a27d820e8f9abeb5fa88bfc6')
build() {
cd "$srcdir/$pkgname-$pkgver/host"
@@ -33,4 +35,5 @@
pushd firmware-bin
install -vD -m644 hackrf_jawbreaker_usb_rom_to_ram.bin "$pkgdir/usr/share/hackrf/hackrf_jawbreaker_usb_rom_to_ram.bin"
install -vD -m644 hackrf_one_usb_rom_to_ram.bin "$pkgdir/usr/share/hackrf/hackrf_usb_rom_to_ram.bin"
+ install -Dm644 "$srcdir/hackrf.conf" "$pkgdir/etc/modprobe.d/hackrf.conf"
}
Added: hackrf.conf
===================================================================
--- hackrf.conf (rev 0)
+++ hackrf.conf 2015-02-22 18:58:57 UTC (rev 128114)
@@ -0,0 +1,2 @@
+# disable kernel drivers
+blacklist hackrf
More information about the arch-commits
mailing list