updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / horgand / PKGBUILD
blob9999ceed7a6cb68baaba7c3c20091572d9babaad
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=horgand
4 pkgver=1.14
5 pkgrel=2
6 pkgdesc="JACK capable organ softsynth"
7 arch=(i686 x86_64)
8 url="http://horgand.berlios.de/"
9 license=('GPL')
10 depends=('libxpm' 'fltk' 'jack')
11 install="$pkgname.install"
12 source=("http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz"
13         "$pkgname.desktop")
14 md5sums=('e2bd4720a262cb739a2132904c241828'
15          'd1ffcaa03c69be2f173d998bff2ddacb')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
20   # build with fltk >= 1.3
21   sed -i "s|Fl/|FL/|" src/organ.C
23   ./configure --prefix=/usr
24   make
27 package() {
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"
39   # banks
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"
44   done
47 # vim:set ts=2 sw=2 et: