updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / jconvolver / PKGBUILD
blobd4eddb6fbfa22b8457c25e50c894517884f6a9e3
1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
2 # Maintainer: Philipp Überbacher <hollunder at gmx dot at>
3 pkgname=jconvolver
4 pkgver=0.9.2
5 pkgrel=1
6 pkgdesc="Convolution Engine for JACK, including example config and reverbs files"
7 url="http://kokkinizita.linuxaudio.org/linuxaudio/"
8 arch=('i686' 'x86_64')
9 license=('GPL')
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')
17 build() {
18   cd "${srcdir}/${pkgname}-${pkgver}/source"
20   sed -i 's/usr\/local/usr/' Makefile
22   make SUFFIX=""
25 package(){
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"