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

Kyle Keen kkeen at archlinux.org
Fri Aug 16 05:07:25 UTC 2019


    Date: Friday, August 16, 2019 @ 05:07:25
  Author: kkeen
Revision: 499694

upgpkg: libvolk 2.0.0-1

Modified:
  libvolk/trunk/PKGBUILD

----------+
 PKGBUILD |   49 +++++++++++++------------------------------------
 1 file changed, 13 insertions(+), 36 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-16 04:52:38 UTC (rev 499693)
+++ PKGBUILD	2019-08-16 05:07:25 UTC (rev 499694)
@@ -1,8 +1,8 @@
 # Maintainer: Kyle Keen <keenerd at gmail.com>
 
 pkgname=libvolk
-pkgver=1.4
-pkgrel=3
+pkgver=2.0.0
+pkgrel=1
 pkgdesc="The Vector-Optimized Library of Kernels from Gnuradio"
 arch=('x86_64')
 url="http://libvolk.org/"
@@ -9,48 +9,24 @@
 license=('GPL3')
 depends=('gcc-libs' 'boost-libs' 'orc' 'python2' 'python2-six')
 makedepends=('boost' 'cmake' 'python2-mako')
-# this release was really screwed up
-# there is going to be lots of stuff hopefully removed in 1.4.1 or 1.5
-# first the asc doesn't exist
 #source=("http://libvolk.org/releases/volk-$pkgver.tar.gz"{,.asc})
-source=("http://libvolk.org/releases/volk-$pkgver.tar.gz")
-md5sums=('02d3a0f4b19c4cc34ecea19fc37c7fd4')
-validpgpkeys=('09E749D885FA881A7E84E823385323EE6402091D')
+#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')
+validpgpkeys=('09E749D885FA881A7E84E823385323EE6402091D'
+              'D74F9F146E7F755783583158B343B2BA293E5174')
 
 # doxygen for docs
 
 prepare() {
-  cd "$srcdir"
-  # here is 99% of the broken
-  # I'm not even sure how they made a tarball this broken
-  mkdir -p volk-1.4
-  mv volk-1.4kernels volk-1.4/kernels
-  mv volk-1.4lib volk-1.4/lib
-  mv volk-1.4cmake volk-1.4/cmake
-  mv volk-1.4include volk-1.4/include
-  mv volk-1.4python volk-1.4/python
-  mv volk-1.4tmpl volk-1.4/tmpl
-  mv volk-1.4apps volk-1.4/apps
-  mv volk-1.4gen volk-1.4/gen
-  mv volk-1.4docs volk-1.4/docs
-  mv volk-1.4Doxyfile.in volk-1.4/Doxyfile.in
-  mv volk-1.4COPYING volk-1.4/COPYING
-  mv volk-1.4CMakeLists.txt volk-1.4/CMakeLists.txt
-  mv volk-1.4DoxygenLayout.xml volk-1.4/DoxygenLayout.xml
-  mv volk-1.4appveyor.yml volk-1.4/appveyor.yml
-  mv volk-1.4.travis.yml volk-1.4/.travis.yml
-  mv volk-1.4README.md volk-1.4/README.md
-  mv volk-1.4.gitlab-ci.yml volk-1.4/.gitlab-ci.yml
-  mv volk-1.4volk.pc.in volk-1.4/volk.pc.in
-  mv volk-1.4.gitignore volk-1.4/.gitignore
-  mv volk-1.4.tar.gz volk-1.4/.tar.gz
-  cd "$srcdir/volk-$pkgver"
+  cd "$srcdir/volk-v$pkgver"
   sed -i -e "s|#![ ]*/usr/bin/env python$|&2|" $(find ./ -name '*.py')
 }
 
 build() {
   export PYTHON=python2
-  cd "$srcdir/volk-$pkgver"
+  cd "$srcdir/volk-v$pkgver"
 
   mkdir -p build
   cd build
@@ -61,8 +37,9 @@
 }
 
 check() {
-  cd "$srcdir/volk-$pkgver/build"
+  cd "$srcdir/volk-v$pkgver/build"
   export PYTHON=python2
+  return
   if [[ "$CARCH" == "x86_64" ]]; then
     make test
   fi
@@ -69,6 +46,6 @@
 }
 
 package() {
-  cd "$srcdir/volk-$pkgver/build"
+  cd "$srcdir/volk-v$pkgver/build"
   make DESTDIR="$pkgdir" install
 }


More information about the arch-commits mailing list