1 # Contributor: Michael Krauss <hippodriver@gmx.net>
2 # original Contributor: Todd Maynard <arch@toddmaynard.com>
7 pkgdesc="Sudoku Puzzle Generator and Solver for KDE"
9 url="http://ksudoku.sourceforge.net/"
13 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
14 md5sums=('418f9ecac5756f7bc79863596dee7f34')
17 # apply patch for gcc-4.3 on ksudoku version 0.4
18 cp $startdir/gcc43.diff $startdir/src
20 patch -p0 < gcc43.diff
22 cd $startdir/src/$pkgname-$pkgver
23 cmake . -DCMAKE_INSTALL_PREFIX:PATH=`kde-config --prefix`
25 make DESTDIR=$startdir/pkg install