[arch-commits] Commit in libvolk/repos (2 files)
Kyle Keen
kkeen at archlinux.org
Thu Mar 12 23:56:41 UTC 2020
Date: Thursday, March 12, 2020 @ 23:56:40
Author: kkeen
Revision: 595598
archrelease: copy trunk to community-staging-x86_64
Added:
libvolk/repos/community-staging-x86_64/
libvolk/repos/community-staging-x86_64/PKGBUILD
(from rev 595597, libvolk/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: libvolk/repos/community-staging-x86_64/PKGBUILD (from rev 595597, libvolk/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-03-12 23:56:40 UTC (rev 595598)
@@ -0,0 +1,47 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=libvolk
+pkgver=2.2.1
+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' '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})
+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=('ebf09b97e56a5da3817a5c98a9731daa')
+validpgpkeys=('09E749D885FA881A7E84E823385323EE6402091D'
+ 'D74F9F146E7F755783583158B343B2BA293E5174')
+
+# doxygen for docs
+
+build() {
+ export PYTHON=python3
+ cd "$srcdir/volk-$pkgver"
+
+ mkdir -p build
+ cd build
+ cmake \
+ -DPYTHON_EXECUTABLE=$(which python3) \
+ -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev ../
+ make
+}
+
+check() {
+ cd "$srcdir/volk-$pkgver/build"
+ export PYTHON=python3
+ return
+ if [[ "$CARCH" == "x86_64" ]]; then
+ make test
+ fi
+}
+
+package() {
+ cd "$srcdir/volk-$pkgver/build"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list