1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="JACK capable organ softsynth"
8 url="http://horgand.berlios.de/"
10 depends=('libxpm' 'fltk' 'jack')
11 install="$pkgname.install"
12 source=("http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz"
14 md5sums=('e2bd4720a262cb739a2132904c241828'
15 'd1ffcaa03c69be2f173d998bff2ddacb')
18 cd "$srcdir/$pkgname-$pkgver"
20 # build with fltk >= 1.3
21 sed -i "s|Fl/|FL/|" src/organ.C
23 ./configure --prefix=/usr
28 cd "$srcdir/$pkgname-$pkgver"
30 make DESTDIR="$pkgdir/" install
32 # desktop file and icon
33 install -Dm644 ../$pkgname.desktop \
34 "$pkgdir/usr/share/applications/$pkgname.desktop"
36 install -Dm644 src/${pkgname}128.xpm \
37 "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
40 install -d "$pkgdir/usr/share/$pkgname/banks"
41 for ((_i=2; _i <= 22; _i++)); do
42 msg "Downloading bank $_i ..."
43 wget -q ${url}Bank$_i.horeb -P "$pkgdir/usr/share/$pkgname/banks"
47 # vim:set ts=2 sw=2 et: