updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / fofix / PKGBUILD
blob0f382bcac347832ff635641893687519195185f0
1 # Maintainer: doorknob60 <doorknob60 at gmail dot com>
3 pkgname=fofix
4 pkgver=3.121
5 pkgrel=4
6 pkgdesc="fretsonfire X (FoFiX). Highly improved version of Frets on Fire"
7 url="http://code.google.com/p/fofix"
8 arch=(any)
9 license=('GPL')
10 install=${pkgname}.install
11 groups=('games')
12 depends=('python2' 'python-pygame' 'python-opengl' 'python2-numpy' 'python-imaging' 'pyogg' 'pyvorbis' 'python-pysqlite' 'pyxml' 'libffi')
13 replaces=('fofix')
14 source=('http://fofix.googlecode.com/files/fofix-3.121.tar.gz' 'fofix.desktop' 'fofix.png')
15 md5sums=('ce63bc8924711ab0c52cebbb1b779d7f' 'e26fc0ae8f5ca5d9bdbeb34535bacd9a' 'f886a7fdfa7592b50aa9f62901910e03')
18 build() {
19 install -d $pkgdir/usr/
20 install -d $pkgdir/usr/share/
21 install -d $pkgdir/usr/share/applications/
22 install -d $pkgdir/usr/share/pixmaps/
23 install -d $pkgdir/usr/bin/
24 install -d $pkgdir/opt/
25 cd ${srcdir}
26 cp ${startdir}/fofix.desktop ${pkgdir}/usr/share/applications/
27 cp ${startdir}/fofix.png ${pkgdir}/usr/share/pixmaps/
28 mv ${srcdir}/fofix-3.121 $pkgdir/opt/fofix
29 cd $pkgdir/usr/bin/
30 echo "#/bin/sh" > fofix
31 echo "cd /opt/fofix/src/" >> fofix
32 echo "python2 ./FoFiX.py" >> fofix
33 chmod +x fofix
34 chmod -R 777 $pkgdir/opt/fofix