summaryrefslogtreecommitdiff
path: root/community/zita-convolver/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/zita-convolver/PKGBUILD')
-rw-r--r--community/zita-convolver/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/zita-convolver/PKGBUILD b/community/zita-convolver/PKGBUILD
new file mode 100644
index 000000000..fee89316f
--- /dev/null
+++ b/community/zita-convolver/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 93759 2013-07-10 02:26:55Z speps $
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: Philipp Überbacher <murks at lavabit dot com>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: orbisvicis
+
+pkgname=zita-convolver
+pkgver=3.1.0
+pkgrel=1
+pkgdesc="A fast, partitioned convolution engine library."
+arch=('i686' 'x86_64')
+url="http://kokkinizita.linuxaudio.org/linuxaudio/"
+license=('GPL3')
+depends=('gcc-libs' 'fftw')
+source=("${url}downloads/zita-convolver-$pkgver.tar.bz2")
+md5sums=('7e264d0fb0d8ea277cdb4e33d764c68a')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver/libs"
+
+ # prevent ldconfig call
+ sed -i 's/ldconfig//' Makefile
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver/libs"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/libs"
+ make SUFFIX="" PREFIX=/usr DESTDIR="$pkgdir/" install
+
+ # missing softlink
+ ln -s lib$pkgname.so.$pkgver \
+ "$pkgdir/usr/lib/lib$pkgname.so.${pkgver%%.*}"
+}