Date: Wednesday, February 8, 2023 @ 22:29:04
Author: arojas
Revision: 1396744
archrelease: copy trunk to community-x86_64
Added:
hackrf/repos/community-x86_64/PKGBUILD
(from rev 1396743, hackrf/trunk/PKGBUILD)
hackrf/repos/community-x86_64/hackrf.conf
(from rev 1396743, hackrf/trunk/hackrf.conf)
Deleted:
hackrf/repos/community-x86_64/PKGBUILD
hackrf/repos/community-x86_64/hackrf.conf
-------------+
PKGBUILD | 92 +++++++++++++++++++++++++++-------------------------------
hackrf.conf | 4 +-
2 files changed, 46 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-08 22:28:54 UTC (rev 1396743)
+++ PKGBUILD 2023-02-08 22:29:04 UTC (rev 1396744)
@@ -1,48 +0,0 @@
-# Maintainer: Kyle Keen <[email protected]>
-# Contributor: Dominik Heidler <[email protected]>
-pkgname=hackrf
-pkgver=2022.09.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=('bfd8e34be23e0b35c6663fc51c2e5163'
- '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 1396743,
hackrf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-08 22:29:04 UTC (rev 1396744)
@@ -0,0 +1,44 @@
+# Maintainer:
+# Contributor: Kyle Keen <[email protected]>
+# Contributor: Dominik Heidler <[email protected]>
+
+pkgname=hackrf
+pkgver=2023.01.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=("https://github.com/mossmann/hackrf/releases/download/v${pkgver}/hackrf-$pkgver.tar.xz"
+ 'hackrf.conf')
+sha256sums=('32a03f943a30be4ba478e94bf69f14a5b7d55be6761007f4a4f5453418206a11'
+ '8246a539049ec2bd6226337d8d9b4f48bd503d77de13408a5751d2a60dc76965')
+
+prepare() {
+ cd $pkgname-$pkgver/host
+ # FS#41895
+ sed -i 's|MODE.*$|TAG+="uaccess"|' libhackrf/53-hackrf.rules*
+}
+
+build() {
+ cmake -B build -S $pkgname-$pkgver/host \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+ cd $pkgname-$pkgver
+ 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 2023-02-08 22:28:54 UTC (rev 1396743)
+++ hackrf.conf 2023-02-08 22:29:04 UTC (rev 1396744)
@@ -1,2 +0,0 @@
-# disable kernel drivers
-blacklist hackrf
Copied: hackrf/repos/community-x86_64/hackrf.conf (from rev 1396743,
hackrf/trunk/hackrf.conf)
===================================================================
--- hackrf.conf (rev 0)
+++ hackrf.conf 2023-02-08 22:29:04 UTC (rev 1396744)
@@ -0,0 +1,2 @@
+# disable kernel drivers
+blacklist hackrf