[arch-commits] Commit in hackrf/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Fri Feb 17 22:45:05 UTC 2017
Date: Friday, February 17, 2017 @ 22:45:04
Author: kkeen
Revision: 212989
upgpkg: hackrf 2017.02.1-1
Modified:
hackrf/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-17 21:20:15 UTC (rev 212988)
+++ PKGBUILD 2017-02-17 22:45:04 UTC (rev 212989)
@@ -2,19 +2,19 @@
# Maintainer: Kyle Keen <keenerd at gmail.com>
# Contributor: Dominik Heidler <dheidler at gmail.com>
pkgname=hackrf
-pkgver=2015.07.2
-pkgrel=2
+pkgver=2017.02.1
+pkgrel=1
pkgdesc="Driver for HackRF, allowing general purpose software defined radio (SDR)."
arch=('i686' 'x86_64')
url="https://github.com/mossmann/hackrf"
license=('GPL2')
-depends=('libusb')
+depends=('libusb' 'fftw')
makedepends=('cmake')
#source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz"
source=("https://github.com/mossmann/hackrf/releases/download/v${pkgver}/hackrf-$pkgver.tar.xz"
'hackrf.conf')
-md5sums=('67595d2dad1c299138baf9a85ec37341'
+md5sums=('7303edc2f6ea710e0e35ad196b485045'
'01ad1ba4a27d820e8f9abeb5fa88bfc6')
prepare() {
@@ -40,7 +40,9 @@
install -vD -m644 53-hackrf.rules "$pkgdir/usr/lib/udev/rules.d/53-hackrf.rules"
popd
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"
+ for i in *.{bin,dfu,xsvf}; do
+ install -vDm644 "$i" "$pkgdir/usr/share/hackrf/$i"
+ done
+ popd
install -Dm644 "$srcdir/hackrf.conf" "$pkgdir/etc/modprobe.d/hackrf.conf"
}
More information about the arch-commits
mailing list