summaryrefslogtreecommitdiffstats
path: root/tipp10/PKGBUILD
blob: d37bd4799908179ad50476bbd6173b68fcc22f1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Florian Pritz <f-p@gmx.at>
# Contributor: toliman <altergan@hs-albsig.de>

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')