summaryrefslogtreecommitdiff
path: root/radio/jack-rack/PKGBUILD
blob: 7363705b77bd8b065ba812162a6f344cea0b6815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer (Arch): DonVla <donvla@users.sourceforge.net>
# Contributor (Arch): Patrick Leslie Polzer <leslie.polzer@gmx.net>
# Contributor (Arch): Berkus <berkus@madfire.net>
# Contributor (Arch): Daniele Paolella <danielepaolella@email.it>
pkgname=jack-rack
pkgver=1.4.7
pkgrel=4
pkgdesc="Effects rack for JACK"
url="http://jack-rack.sourceforge.net"
arch=('i686' 'x86_64')
license=('GPL')
depends=('jack' 'gtk2' 'libxml2' 'ladspa')
optdepends=('lash: LASH support'
            'raptor1: LRDF support'
            'liblrdf: LRDF support'
            'python2: ecarack')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
 
md5sums=('a29ef4001ee2916a1b758952c936adca')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./autogen.sh
  ./configure --prefix=/usr --enable-lash --disable-gnome
  make LDFLAGS='-ldl -lm'
}
 
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"  
  make DESTDIR=${pkgdir} install
  sed -i 's/#!\/usr\/bin\/python/#!\/usr\/bin\/python2/' "${pkgdir}/usr/bin/ecarack"
}
 
# vim:set ts=2 sw=2 et: