summaryrefslogtreecommitdiff
path: root/community/suil/PKGBUILD
blob: 243ce100b05745216179f8ff4285e85d76dd229e (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
35
36
37
38
# $Id: PKGBUILD 73981 2012-07-18 00:34:51Z speps $
# Maintainer: speps <speps at aur dot archlinux dot org>

pkgname=suil
pkgver=0.6.4
pkgrel=1
pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs"
arch=(i686 x86_64)
url="http://drobilla.net/software/$pkgname/"
license=('custom:ISC')
depends=('lv2')
makedepends=('python2' 'qt' 'gtk2')
optdepends=('qt: Qt UIs wrapping support'
            'gtk2: Gtk2 UIs wrapping support')
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
md5sums=('9f34d3f15b4266e7cce59e3ac8f1fb3a')

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

  # remove ldconfig
  sed -i "/ldconfig/d" wscript

  python2 ./waf configure --prefix=/usr \
                          --mandir=/usr/share/man
  python2 ./waf
}

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

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

# vim:set ts=2 sw=2 et: