updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / fxsudoku / PKGBUILD
blob30be28577f3d9a9f3f6bb57836ffabef04b555fb
1 # Contributor: Sander Jansen <sander@knology.net>
3 pkgname=fxsudoku
4 pkgver=0.5.1
5 pkgrel=1
6 pkgdesc="Sudoku Game and Solver"
7 depends=('fox>=1.6.0' )
8 source=(http://fifthplanet.net/files/$pkgname-$pkgver.tar.bz2)
9 url="http://fifthplanet.net"
10 md5sums=('213c30d4d8bcac4f71d8ed06b389477c')
12 build() {
13         cd $startdir/src/$pkgname-$pkgver
15         # Override default flags
16         export CFLAGS="-Wall -O2 -pipe -march=i686"
17         export CXXFLAGS="-Wall -O2 -pipe -march=i686"
19         # Compile
20         ./gb
22         # make sure destination exists
23         mkdir -p $startdir/pkg/usr/bin
25         # Install
26         ./gb install --prefix=$startdir/pkg/usr