updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / gnudoq / PKGBUILD
bloba0091c519e9d17ba2d2d32e5f8376e651868e732
1 # Contributor: Harry Bellemare <h.bellemare@gmail.com>
2 pkgname=gnudoq
3 _pkgname=GNUDoQ
4 pkgver=0.94
5 pkgrel=1
6 pkgdesc="An open source, graphical Su Doku generator and solver with printer/PDF support"
7 arch=('i686' 'x86_64')
8 url="http://www.thelemmings.net/static.php?page=GNUDoQ"
9 license=('GPL')
10 depends=('qt')
11 source=(http://www.thelemmings.net/projects/$_pkgname-$pkgver.tar.bz2
12 patch.diff)
13 md5sums=('237c854161a66ecf0fc4ee867d3c9d48'
14          '01f56b4d0fc52e114f81dd5db83c662e')
15 build() {
16 cd $srcdir/GNUDoku-$pkgver
17 patch -Np1 -i ../patch.diff sudoku.C || return 1
18 qmake $_pkgname.pro || return 1
19 make || return 1
20 install -D $srcdir/GNUDoku-$pkgver/$_pkgname $pkgdir/usr/bin/$pkgname