Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
hackrf


Commits:
73720ae6 by Carl Smedstad at 2025-06-14T20:33:50+02:00
upgpkg: 2024.02.1-4: Fix build & install config in correct location

Resolves #1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = hackrf
        pkgdesc = Driver for HackRF, allowing general purpose software defined 
radio (SDR)
        pkgver = 2024.02.1
-       pkgrel = 3
+       pkgrel = 4
        url = https://github.com/greatscottgadgets/hackrf
        arch = x86_64
        license = GPL-2.0-or-later


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 
 pkgname=hackrf
 pkgver=2024.02.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Driver for HackRF, allowing general purpose software defined radio 
(SDR)"
 arch=(x86_64)
 url="https://github.com/greatscottgadgets/hackrf";
@@ -30,6 +30,7 @@ prepare() {
 
 build() {
   cd $pkgname-$pkgver
+  export CMAKE_POLICY_VERSION_MINIMUM=3.5
   cmake -S host -B build \
     -DCMAKE_BUILD_TYPE=None \
     -DCMAKE_INSTALL_PREFIX=/usr \
@@ -44,5 +45,5 @@ package() {
   for file in firmware-bin/*.{bin,dfu}; do
     install -vDm644 -t "$pkgdir/usr/share/hackrf" "$file"
   done
-  install -vDm644 -t "$pkgdir/etc/modprobe.d" "$srcdir/hackrf.conf"
+  install -vDm644 -t "$pkgdir/usr/lib/modprobe.d" "$srcdir/hackrf.conf"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hackrf/-/commit/73720ae6411e27d33c0dcd2ef78b91be19a29863

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hackrf/-/commit/73720ae6411e27d33c0dcd2ef78b91be19a29863
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to