updated on Mon Jan 16 16:00:41 UTC 2012
[aur-mirror.git] / ksudoku / PKGBUILD
blobee9022b4e7b89f51716bda760d6ff730f6b5e4b6
1 # Contributor:  Michael Krauss <hippodriver@gmx.net>
2 # original Contributor: Todd Maynard <arch@toddmaynard.com>
4 pkgname=ksudoku
5 pkgver=0.4
6 pkgrel=4
7 pkgdesc="Sudoku Puzzle Generator and Solver for KDE"
8 arch=('i686' 'x86_64')
9 url="http://ksudoku.sourceforge.net/"
10 license=('GPL2')
11 depends=('kdelibs3')
12 makedepends=('cmake')
13 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
14 md5sums=('418f9ecac5756f7bc79863596dee7f34')
16 build() {
17   # apply patch for gcc-4.3 on ksudoku version 0.4
18   cp $startdir/gcc43.diff $startdir/src
19   cd $startdir/src
20   patch -p0 < gcc43.diff  
22   cd $startdir/src/$pkgname-$pkgver
23   cmake . -DCMAKE_INSTALL_PREFIX:PATH=`kde-config --prefix`
24   make || return 1
25   make DESTDIR=$startdir/pkg install