4 pkgdesc="Protrekkr - tracker, sequencer"
6 url="http://code.google.com/p/protrekkr/"
10 makedepends=('subversion')
13 _svntrunk=http://protrekkr.googlecode.com/svn/trunk/
17 svn co $_svntrunk $pkgname --config-dir ./ $pkver
18 msg "SVN checkout done or sever timeout"
19 msg "Starting make..."
20 cd $srcdir/ptk/src/extralibs/tinyxml ; make
21 cd $srcdir/ptk/src/extralibs/sdl_draw ; make -f makefile.linux
23 echo "src dir".$srcdir
24 patch -p0 -i $startdir/ptk1.98k-makefile.patch $srcdir/ptk/makefile.linux
25 make -f makefile.linux || return 1
26 mkdir -p $pkgdir/usr/share/ptk $pkgdir/usr/bin
27 ln -s /usr/share/ptk/ptk_linux $pkgdir/usr/bin/ptk-oss
29 aoss /usr/share/ptk/ptk_linux' > $pkgdir/usr/bin/ptk-alsa
30 chmod 755 $pkgdir/usr/bin/ptk-alsa
31 ln -s /usr/bin/ptk-alsa $pkgdir/usr/bin/ptk
32 cp -r $srcdir/ptk/release/distrib/* $pkgdir/usr/share/ptk