[arch-commits] Commit in hackrf/repos/community-x86_64 (4 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Apr 23 09:25:10 UTC 2022
Date: Saturday, April 23, 2022 @ 09:25:09
Author: arojas
Revision: 1187530
archrelease: copy trunk to community-x86_64
Added:
hackrf/repos/community-x86_64/PKGBUILD
(from rev 1187529, hackrf/trunk/PKGBUILD)
hackrf/repos/community-x86_64/hackrf.conf
(from rev 1187529, hackrf/trunk/hackrf.conf)
Deleted:
hackrf/repos/community-x86_64/PKGBUILD
hackrf/repos/community-x86_64/hackrf.conf
-------------+
PKGBUILD | 96 +++++++++++++++++++++++++++++-----------------------------
hackrf.conf | 4 +-
2 files changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-23 09:24:57 UTC (rev 1187529)
+++ PKGBUILD 2022-04-23 09:25:09 UTC (rev 1187530)
@@ -1,48 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Dominik Heidler <dheidler at gmail.com>
-pkgname=hackrf
-pkgver=2021.03.1
-pkgrel=1
-pkgdesc="Driver for HackRF, allowing general purpose software defined radio (SDR)."
-arch=('x86_64')
-url="https://github.com/mossmann/hackrf"
-license=('GPL2')
-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=('70003f1c72b19071a691a72e476039d1'
- '01ad1ba4a27d820e8f9abeb5fa88bfc6')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver/host"
- # FS#41895
- sed -i 's|MODE.*$|TAG+="uaccess"|' libhackrf/53-hackrf.rules*
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver/host"
- mkdir -p build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr ../
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- pushd host/build
- make DESTDIR="$pkgdir" install
- popd
- pushd host/libhackrf
- install -vD -m644 53-hackrf.rules "$pkgdir/usr/lib/udev/rules.d/53-hackrf.rules"
- popd
- pushd firmware-bin
- #for i in *.{bin,dfu,xsvf}; do
- for i in *.{bin,dfu}; do
- install -vDm644 "$i" "$pkgdir/usr/share/hackrf/$i"
- done
- popd
- install -Dm644 "$srcdir/hackrf.conf" "$pkgdir/etc/modprobe.d/hackrf.conf"
-}
Copied: hackrf/repos/community-x86_64/PKGBUILD (from rev 1187529, hackrf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-23 09:25:09 UTC (rev 1187530)
@@ -0,0 +1,48 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+pkgname=hackrf
+pkgver=2021.03.1
+pkgrel=2
+pkgdesc="Driver for HackRF, allowing general purpose software defined radio (SDR)."
+arch=('x86_64')
+url="https://github.com/mossmann/hackrf"
+license=('GPL2')
+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=('70003f1c72b19071a691a72e476039d1'
+ '01ad1ba4a27d820e8f9abeb5fa88bfc6')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver/host"
+ # FS#41895
+ sed -i 's|MODE.*$|TAG+="uaccess"|' libhackrf/53-hackrf.rules*
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver/host"
+ mkdir -p build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ../
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ pushd host/build
+ make DESTDIR="$pkgdir" install
+ popd
+ pushd host/libhackrf
+ install -vD -m644 53-hackrf.rules "$pkgdir/usr/lib/udev/rules.d/53-hackrf.rules"
+ popd
+ pushd firmware-bin
+ #for i in *.{bin,dfu,xsvf}; do
+ for i in *.{bin,dfu}; do
+ install -vDm644 "$i" "$pkgdir/usr/share/hackrf/$i"
+ done
+ popd
+ install -Dm644 "$srcdir/hackrf.conf" "$pkgdir/etc/modprobe.d/hackrf.conf"
+}
Deleted: hackrf.conf
===================================================================
--- hackrf.conf 2022-04-23 09:24:57 UTC (rev 1187529)
+++ hackrf.conf 2022-04-23 09:25:09 UTC (rev 1187530)
@@ -1,2 +0,0 @@
-# disable kernel drivers
-blacklist hackrf
Copied: hackrf/repos/community-x86_64/hackrf.conf (from rev 1187529, hackrf/trunk/hackrf.conf)
===================================================================
--- hackrf.conf (rev 0)
+++ hackrf.conf 2022-04-23 09:25:09 UTC (rev 1187530)
@@ -0,0 +1,2 @@
+# disable kernel drivers
+blacklist hackrf
More information about the arch-commits
mailing list