updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / goattracker / PKGBUILD
blobd85e713d2f4a092969f4b4748ea2cd8ab0894f25
1 # Contributor: Eric Forgeot < http://anamnese.online.fr >
3 pkgname=goattracker
4 pkgver=2.72
5 pkgrel=1
6 pkgdesc="GoatTracker is a crossplatform C64 music tracker. Included in this package are also the tools betaconv ins2snd2  mod2sng  sngspli2"
7 arch=('i686' 'x86_64')
8 url="http://covertbitops.c64.org/"
9 license=('GPL')
10 #makedepends=('sdl')
11 depends=('sdl')
13 source=(http://cadaver.homeftp.net/tools/goattrk2.zip)
15 md5sums=('5f4b330cf74aa7293286165eac6315c7')
18 build() {
19         cd $startdir/src/src
20         sed -i -e "s/datafile/bme\/datafile/g" $startdir/src/src/makefile.common
21         sed -i -e "s/dat2inc/bme\/dat2inc/g" $startdir/src/src/makefile.common
22         #./configure --prefix=/usr/src
23         cd bme
24         make
25         cd ..
26         make
27         mkdir -p $startdir/pkg/usr/bin
28         mkdir -p $startdir/pkg/usr/share/goattraker
29         
30         cp -fr $startdir/src/linux/* $startdir/pkg/usr/bin
31         rm -fr $startdir/pkg/usr/bin/goattrk2.exe
32         cp -fr $startdir/src/goat_tracker_commands.pdf $startdir/pkg/usr/share/goattraker/
33         cp -fr $startdir/src/examples $startdir/pkg/usr/share/goattraker/
34         cp -fr $startdir/src/readme.txt $startdir/pkg/usr/share/goattraker/
35         cp -fr $startdir/src/readme.txt $startdir/pkg/usr/share/goattraker/
37         ln -s /usr/bin/goattrk2 $startdir/pkg/usr/bin/goattracker
38         
39         #desktop icons
40         mkdir -p $pkgdir/usr/share/pixmaps
41         cp $srcdir/../goattracker.png $pkgdir/usr/share/pixmaps/goattracker.png
42         
43         install -D -m644 $srcdir/../goattracker.desktop $pkgdir/usr/share/applications/goattracker.desktop
45         
46         echo -e "\n betaconv  goattrk2  ins2snd2  mod2sng  sngspli2 are installed in /usr/bin \n"
48