# Contributor: Florian Pritz # Contributor: toliman pkgname=tipp10 pkgver=2.0.3 pkgrel=2 pkgdesc="intelligent typing tutor (german only)" arch=('i686' 'x86_64') url="http://www.tipp10.de/" license=('GPL2') depends=('qt>=4.2.2') makedepends=('unzip' 'make') source=(tipp10.desktop tipp10.png defines.h.patch \ "http://www.tipp10.de/download_hidden/tipp10_source_v2-0-3.zip") build() { sed -i 's/tipp10v2.template/..\/share\/tipp10\/tipp10v2.template/' $srcdir/tipp10/def/defines.h cd $srcdir/tipp10 patch -p0 < "$srcdir/defines.h.patch" || return 1 qmake make || return 1 install -D tipp10 $pkgdir/usr/bin/tipp10 install -D tipp10v2.template $pkgdir/usr/share/tipp10/tipp10v2.template install -D $srcdir/tipp10.png $pkgdir/usr/share/pixmaps/tipp10.png install -D $srcdir/tipp10.desktop $pkgdir/usr/share/applications/tipp10.desktop } md5sums=('e0d6c26220396551386f91ce893e040c' 'ff788e726d357370df1e7c8b19d38fd4' 'ce67b64cb3a1d25119acd1a43804304d' 'bac29896ec992496f7e0aab992993004') sha256sums=('ed18e5cb625463595ca4d84c9e4576d42af407c31a29a76e2bc7a8538288d35d' '83c2574c3ba23b3344669bf15cbd618dfe8ddc3863bdfce1d70ba22200bd8ff0' '02e5791a64b4881d0edd87e28d1f161aba228ac77b1d657814c105c2c4eba88f' 'bf44edc1524b8dac07c0d501368411cc13e5c1a2a6ffb0d1b4d576ba1ad80fd5')