summaryrefslogtreecommitdiff
path: root/community/klavaro/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/klavaro/PKGBUILD')
-rw-r--r--community/klavaro/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/klavaro/PKGBUILD b/community/klavaro/PKGBUILD
new file mode 100644
index 000000000..a3e2f1bfa
--- /dev/null
+++ b/community/klavaro/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 95139 2013-08-06 07:59:09Z stativ $
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+pkgname=klavaro
+pkgver=1.9.8
+pkgrel=1
+pkgdesc="Free touch typing tutor program"
+arch=('i686' 'x86_64')
+url="http://klavaro.sourceforge.net/"
+license=('GPL2')
+depends=('curl' 'gtkdatabox' 'hicolor-icon-theme')
+makedepends=('intltool')
+optdepends=('espeakup: voice output')
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('62ad2c6bec1c2bafab4bdd29227433ac')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ sed -i 's|/usr/share/icons/hicolor/24x24/apps/klavaro.png|klavaro|' \
+ "$pkgdir"/usr/share/applications/$pkgname.desktop
+}