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

Kyle Keen kkeen at archlinux.org
Wed Jan 15 19:01:16 UTC 2020


    Date: Wednesday, January 15, 2020 @ 19:01:16
  Author: kkeen
Revision: 552673

upgpkg: libvolk 2.1.0-1

Modified:
  libvolk/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++------------------
 1 file changed, 14 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-15 17:45:43 UTC (rev 552672)
+++ PKGBUILD	2020-01-15 19:01:16 UTC (rev 552673)
@@ -1,44 +1,40 @@
 # Maintainer: Kyle Keen <keenerd at gmail.com>
 
 pkgname=libvolk
-pkgver=2.0.0
-pkgrel=2
+pkgver=2.1.0
+pkgrel=1
 pkgdesc="The Vector-Optimized Library of Kernels from Gnuradio"
 arch=('x86_64')
 url="http://libvolk.org/"
 license=('GPL3')
-depends=('gcc-libs' 'boost-libs' 'orc' 'python2' 'python2-six')
-makedepends=('boost' 'cmake' 'python2-mako')
+depends=('gcc-libs' 'boost-libs' 'orc' 'python' 'python-six')
+makedepends=('boost' 'cmake' 'python-mako')
 #source=("http://libvolk.org/releases/volk-$pkgver.tar.gz"{,.asc})
 #source=("http://libvolk.org/releases/volk-$pkgver.tar.gz")
-source=("https://github.com/gnuradio/volk/releases/download/v$pkgver/volk-v$pkgver.tar.gz"{,.asc})
-md5sums=('f40b09feb2e88bd0a50aecc4301e7246'
-         'SKIP')
+#source=("https://github.com/gnuradio/volk/releases/download/v$pkgver/volk-v$pkgver.tar.gz"{,.asc})
+source=("volk-$pkgver.tgz::https://github.com/gnuradio/volk/archive/v$pkgver.tar.gz")
+# new upstream maintainer, no sig for 2.1.0 or real release?
+md5sums=('a3b24a84bf109c5bd07b0284bbd756d0')
 validpgpkeys=('09E749D885FA881A7E84E823385323EE6402091D'
               'D74F9F146E7F755783583158B343B2BA293E5174')
 
 # doxygen for docs
 
-prepare() {
-  cd "$srcdir/volk-v$pkgver"
-  sed -i -e "s|#![ ]*/usr/bin/env python$|&2|" $(find ./ -name '*.py')
-}
-
 build() {
-  export PYTHON=python2
-  cd "$srcdir/volk-v$pkgver"
+  export PYTHON=python3
+  cd "$srcdir/volk-$pkgver"
 
   mkdir -p build
   cd build
   cmake \
-    -DPYTHON_EXECUTABLE=$(which python2) \
+    -DPYTHON_EXECUTABLE=$(which python3) \
     -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev ../
   make
 }
 
 check() {
-  cd "$srcdir/volk-v$pkgver/build"
-  export PYTHON=python2
+  cd "$srcdir/volk-$pkgver/build"
+  export PYTHON=python3
   return
   if [[ "$CARCH" == "x86_64" ]]; then
     make test
@@ -46,6 +42,6 @@
 }
 
 package() {
-  cd "$srcdir/volk-v$pkgver/build"
+  cd "$srcdir/volk-$pkgver/build"
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list