summaryrefslogtreecommitdiff
path: root/community/tipp10/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/tipp10/PKGBUILD')
-rw-r--r--community/tipp10/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/tipp10/PKGBUILD b/community/tipp10/PKGBUILD
new file mode 100644
index 000000000..43767818f
--- /dev/null
+++ b/community/tipp10/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 43635 2011-03-28 15:07:14Z bluewind $
+# Maintainer: Florian Pritz <flo@xinu.at>
+# Contributor: toliman <altergan@hs-albsig.de>
+
+pkgname=tipp10
+pkgver=2.1.0
+pkgrel=3
+pkgdesc="intelligent typing tutor"
+arch=('i686' 'x86_64')
+url="http://www.tipp10.com/"
+license=('GPL2')
+depends=('qt>=4.2.2')
+source=(defines.h.patch gcc-4.5.patch \
+ "http://www.tipp10.com/de/download/tipp10_source_v"${pkgver//./-}".zip")
+md5sums=('73a987123ca842026b7bde5e89370b86'
+ 'a9d388ddb17ae93f13acb915bc8eba57'
+ '38c1e1fc9c5ba183279efdd22b318b7a')
+
+_srcdir="$srcdir/tipp10_source_v${pkgver//./-}"
+
+build() {
+ cd "$_srcdir"
+
+ sed -i 's#tipp10v2.template#../share/tipp10/tipp10v2.template#' def/defines.h
+ patch -p0 < "$srcdir/defines.h.patch"
+ patch -p0 < "$srcdir/gcc-4.5.patch"
+ qmake
+ make
+}
+
+package() {
+ cd "$_srcdir"
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm755 tipp10 "$pkgdir/usr/bin/tipp10"
+ install -Dm644 release/tipp10v2.template "$pkgdir/usr/share/tipp10/tipp10v2.template"
+ install -Dm644 tipp10.png "$pkgdir/usr/share/pixmaps/tipp10.png"
+ install -Dm644 tipp10.desktop "$pkgdir/usr/share/applications/tipp10.desktop"
+}