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
# Maintainer: Philipp Überbacher <murks at lavabit dot com>
pkgname=jcgui
pkgver=0.7
pkgrel=1
pkgdesc="A simple little gui for jconvolver"
arch=('i686' 'x86_64')
url="http://jcgui.sourceforge.net/"
license=('GPL')
depends=('gtk2' 'jack' 'gcc-libs')
source=(http://downloads.sourceforge.net/project/jcgui/jcgui/$pkgname-$pkgver.tar.bz2)
md5sums=('0d41a034cd247c470f982011b926afda')

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

  sed -i 's/^#include <cstdio>$/&\n#include <unistd.h>/' src/gx_ui.cpp
  python2 ./waf configure --prefix=/usr
  python2 ./waf build
}

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

  python2 ./waf --destdir=${pkgdir} install
}

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