[arch-commits] Commit in libvolk/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 21:13:11 UTC 2021
Date: Tuesday, November 30, 2021 @ 21:13:11
Author: felixonmars
Revision: 1058871
archrelease: copy trunk to community-staging-x86_64
Added:
libvolk/repos/community-staging-x86_64/
libvolk/repos/community-staging-x86_64/PKGBUILD
(from rev 1058869, libvolk/trunk/PKGBUILD)
----------+
PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
Copied: libvolk/repos/community-staging-x86_64/PKGBUILD (from rev 1058869, libvolk/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-11-30 21:13:11 UTC (rev 1058871)
@@ -0,0 +1,57 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=libvolk
+epoch=2
+pkgver=2.5.0
+_cpuver=0.6.0
+pkgrel=2
+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"
+ "cpufeatures-$_cpuver.tgz::https://github.com/google/cpu_features/archive/v$_cpuver.tar.gz")
+# new upstream maintainer, no sig for 2.1.0 or real release?
+md5sums=('f4a00ab7a05a8dfc150d5d39d6791777'
+ '72a153f809bfab2253978959da0915ef')
+validpgpkeys=('09E749D885FA881A7E84E823385323EE6402091D'
+ 'D74F9F146E7F755783583158B343B2BA293E5174')
+
+# doxygen for docs
+
+prepare() {
+ cd "$srcdir/volk-$pkgver"
+ rmdir cpu_features
+ ln -sf "$srcdir/cpu_features-$_cpuver" cpu_features
+}
+
+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