updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / trommler / PKGBUILD
blob88186041256190c9578776c6aec2304472683ebb
1 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
2 pkgname=trommler
3 pkgver=3.7
4 pkgrel=1
5 pkgdesc="An X11/GTK based Linux drum machine"
6 arch=(i686)
7 url="http://muth.org/Robert/Trommler/"
8 license=('GPL')
9 depends=('gtk2')
10 makedepends=('python')
11 source=(http://muth.org/Robert/Trommler/${pkgname}.${pkgver}.tar.gz)
12 md5sums=('971cc21a590fcfb7d01d7fb30d39d813')
14 build() {
15   cd ${startdir}/src/Trommler
17   rm -f ${pkgname} playsample wav2smp
19   make export.h || return 1
20   make all || 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/