[arch-commits] Commit in gnuradio-fcdproplus/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Wed Aug 21 01:19:14 UTC 2019


    Date: Wednesday, August 21, 2019 @ 01:19:14
  Author: kkeen
Revision: 500362

upgpkg: gnuradio-fcdproplus 3.8.0-1

Modified:
  gnuradio-fcdproplus/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-21 00:56:11 UTC (rev 500361)
+++ PKGBUILD	2019-08-21 01:19:14 UTC (rev 500362)
@@ -2,8 +2,10 @@
 # Contributor: Dominik Heidler <dheidler at gmail.com>
 pkgname=gnuradio-fcdproplus
 _pkgname=gr-fcdproplus
-pkgver=3.7.12
+pkgver=3.8.0
 pkgrel=1
+# they still haven't done a release, so fake it
+_commit=f1154db33e7
 pkgdesc="GNU Radio source block for Funcube Dongle Pro +"
 arch=('x86_64')
 url="https://github.com/dl1ksv/gr-fcdproplus"
@@ -12,29 +14,30 @@
 makedepends=('git' 'cmake' 'boost' 'swig' 'systemd' 'ninja')
 # systemd for FS#54735 (libudev.h)
 replaces=('gr-fcdproplus')
-source=("gr-fcdpp-$pkgver.tgz::https://github.com/dl1ksv/gr-fcdproplus/archive/v$pkgver.tar.gz"
+#source=("gr-fcdpp-$pkgver.tgz::https://github.com/dl1ksv/gr-fcdproplus/archive/v$pkgver.tar.gz"
+source=("gr-fcdpp-$_commit.tgz::https://github.com/dl1ksv/gr-fcdproplus/archive/$_commit.tar.gz"
         "88-fcdproplus.rules")
-md5sums=('3ad177be1ea2780051d2eb77fffe72a7'
+md5sums=('464e3499762fec2071b75ff539095475'
          '465e12c454c6a22ebec9849181af7bdc')
 
-prepare() {
-  cd "$srcdir/$_pkgname-$pkgver"
-}
+#prepare() {
+#  cd "$srcdir/$_pkgname-$pkgver"
+#}
 
 build() {
-  cd "$srcdir/$_pkgname-$pkgver"
+  cd "$srcdir/$_pkgname-$_commit"*
   mkdir -p build
   cd build
   cmake -G Ninja \
-    -DPYTHON_EXECUTABLE=$(which python2) \
-    -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python2*) \
-    -DPYTHON_LIBRARY=$(echo /usr/lib/libpython2.*.so) \
+    -DPYTHON_EXECUTABLE=$(which python3) \
+    -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python3*) \
+    -DPYTHON_LIBRARY=$(echo /usr/lib/libpython3.*.so) \
     -DCMAKE_INSTALL_PREFIX=/usr ../
   ninja
 }
 
 package() {
-  cd "$srcdir/$_pkgname-$pkgver/build/"
+  cd "$srcdir/$_pkgname-$_commit"*/build/
   DESTDIR="${pkgdir}" ninja install
   install -Dm644 "$srcdir/88-fcdproplus.rules" "$pkgdir/etc/udev/rules.d/88-fcdproplus.rules"
 }


More information about the arch-commits mailing list