summaryrefslogtreecommitdiff
path: root/pcr/jalv/PKGBUILD
blob: 6100c59022be68ee4d784a8d58b4c76f6e049533 (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
# Maintainer: Guest One <theguestone at gmail dot com>

pkgname=jalv
pkgver=1.4.0
pkgrel=1
pkgdesc="Run an LV2 plugin as a JACK application"
arch=('i686')
url="http://drobilla.net/software/$pkgname/"
license=('custom:ISC')
depends=('lilv' 'suil')
makedepends=('python2' 'qt4' 'gtk2' 'gtk3' 'gtkmm')
optdepends=('qt4: Qt 4.x frontend'
            'gtk2: Gtk+ 2.x frontend'
            'gtk3: Gtk+ 3.x frontend'
            'gtkmm: Gtk++ 2.x frontend')
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
md5sums=('23297b15cb541e0b3c5c05a2fdd9bcca')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  python2 waf configure --prefix=/usr
  python2 waf
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python2 waf install --destdir="$pkgdir"

  # license
  install -Dm644 COPYING \
    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}