summaryrefslogtreecommitdiff
path: root/community/zita-convolver/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-11 01:38:47 -0700
committerroot <root@rshg054.dnsready.net>2013-07-11 01:38:47 -0700
commit2e85ee969c4be5762301fc1447315f132aca1fc8 (patch)
tree45ce2476a7dec9372c4d13a039237544ff6898d1 /community/zita-convolver/PKGBUILD
parentb509d58f0ff9d5b9167eb65b0264d014c8ac9d66 (diff)
Thu Jul 11 01:37:50 PDT 2013
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%%.*}"
+}