1 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
5 pkgdesc="An X11/GTK based Linux drum machine"
7 url="http://muth.org/Robert/Trommler/"
10 makedepends=('python')
11 source=(http://muth.org/Robert/Trommler/${pkgname}.${pkgver}.tar.gz)
12 md5sums=('971cc21a590fcfb7d01d7fb30d39d813')
15 cd ${startdir}/src/Trommler
17 rm -f ${pkgname} playsample wav2smp
19 make export.h || return 1
22 mkdir -p ${startdir}/pkg/usr/bin
23 install -D -m755 ${pkgname} ${startdir}/pkg/usr/bin/${pkgname}
24 install -D -m755 playsample ${startdir}/pkg/usr/bin/playsample
25 install -D -m755 wav2smp ${startdir}/pkg/usr/bin/wav2smp
27 mkdir -p ${startdir}/pkg/usr/share/${pkgname}/{Drums,Songs}
28 install -m644 Drums/*.smp ${startdir}/pkg/usr/share/${pkgname}/Drums/
29 install -m644 Songs/*.sng ${startdir}/pkg/usr/share/${pkgname}/Songs/