[arch-commits] Commit in (eq10q eq10q/repos eq10q/trunk eq10q/trunk/PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Nov 26 19:35:11 UTC 2018
Date: Monday, November 26, 2018 @ 19:35:11
Author: dvzrv
Revision: 409848
Adding eq10q from the AUR.
Added:
eq10q/
eq10q/repos/
eq10q/trunk/
eq10q/trunk/PKGBUILD
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Added: eq10q/trunk/PKGBUILD
===================================================================
--- eq10q/trunk/PKGBUILD (rev 0)
+++ eq10q/trunk/PKGBUILD 2018-11-26 19:35:11 UTC (rev 409848)
@@ -0,0 +1,36 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=eq10q
+pkgver=2.2
+pkgrel=3
+pkgdesc="Audio plugin bundle over the LV2 standard for Linux"
+arch=('x86_64')
+url="http://eq10q.sourceforge.net/"
+license=('GPL3')
+groups=('lv2-plugins' 'pro-audio')
+depends=('fftw' 'gtkmm')
+makedepends=('cmake' 'lv2')
+source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('4c6a79e9f1faeb431abd4e94b6bfa153b1ff5f55b3c2734d35a865ba23e3a7786ee45ee122cdcc26c9a8de915f1c4e2ec588a4c219ad6daf0ccf4a2b474b1e24')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ # replacing use of deprecated pow10 with standardized exp10:
+ # https://sourceforge.net/p/eq10q/bugs/13/
+ sed -e 's/pow10/exp10/g' -i gui/widgets/{bandctl,bodeplot}.cpp
+ # fix install location: https://sourceforge.net/p/eq10q/bugs/20/
+ sed -e '/CMAKE_INSTALL_PREFIX/d' \
+ -e 's|sapista|lib/lv2/sapista|g' -i CMakeLists.txt
+ mkdir -v build
+}
+
+build() {
+ cd "$pkgname-$pkgver/build"
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package() {
+ cd "$pkgname-$pkgver/build"
+ make DESTDIR="$pkgdir/" install
+ install -vDm 644 ../README -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list