1 # Maintainer: Dany Martineau <dany.luc.martineau@gmail.com>
6 pkgdesc="Learn music the easy way"
8 url="http://sourceforge.net/projects/opengf/"
10 depends=('sdl_mixer' 'sdl_image' 'sdl_ttf')
11 source=(http://downloads.sourceforge.net/opengf/OpenGF-RC2-1.1-Linux.tar.gz opengf.desktop note_generator.diff)
12 md5sums=('dcd0094db94b594a3f81b913f867c4a4' 'd5f37ff4c0447cfbb859bee429f3563e' '870140d81b6712f24622db770d021365')
15 cd ${srcdir}/OpenGF-RC2-1.2-Linux
16 patch -p0 < ${srcdir}/note_generator.diff || return 1
19 mkdir -p $pkgdir/usr/share/{applications,opengf}
20 mkdir -p $pkgdir/usr/bin
21 cp OpenGF $pkgdir/usr/share/opengf
22 cp -R data $pkgdir/usr/share/opengf
23 cp -R config $pkgdir/usr/share/opengf
24 echo "#!/bin/bash" >> opengf.sh
25 echo "cd /usr/share/opengf/" >> opengf.sh
26 echo "./OpenGF" >> opengf.sh
27 cp opengf.sh $pkgdir/usr/bin
28 chmod 755 $pkgdir/usr/bin/opengf.sh
29 cp $srcdir/opengf.desktop $pkgdir/usr/share/applications