1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
2 # Maintainer: Philipp Überbacher <hollunder at gmx dot at>
6 pkgdesc="Convolution Engine for JACK, including example config and reverbs files"
7 url="http://kokkinizita.linuxaudio.org/linuxaudio/"
10 depends=('zita-convolver>=3.0.2' 'jack')
11 install=${pkgname}.install
12 source=(http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2 \
13 http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-reverbs.tar.bz2)
14 md5sums=('f1a33f0f455961a7b21b56bdb0f725b1'
15 'a33ec6a97fac039400f7674f3bde4ca9')
18 cd "${srcdir}/${pkgname}-${pkgver}/source"
20 sed -i 's/usr\/local/usr/' Makefile
26 cd "${srcdir}/${pkgname}-${pkgver}/source"
28 make SUFFIX="" PREFIX="/usr" DESTDIR=${pkgdir} install
30 #this installs the configuration readme
31 install -Dm 644 ../README.CONFIG "${pkgdir}/usr/share/jconvolver/README.CONFIG"
33 #this installs the example config files and reverbs that come with jconv
34 cp -r ../config-files/ "${pkgdir}/usr/share/jconvolver/"
36 #this installs additional reverbs
37 cp -r ${srcdir}/reverbs/* "${pkgdir}/usr/share/jconvolver/config-files/"
39 #fix permissions for super-stereo.conf
40 chmod 644 "${pkgdir}/usr/share/jconvolver/config-files/ambisonic/super-stereo.conf"