summaryrefslogtreecommitdiff
path: root/community/klavaro
diff options
context:
space:
mode:
Diffstat (limited to 'community/klavaro')
-rw-r--r--community/klavaro/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/community/klavaro/PKGBUILD b/community/klavaro/PKGBUILD
index 9448a2af0..17ff9bd8e 100644
--- a/community/klavaro/PKGBUILD
+++ b/community/klavaro/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 98040 2013-10-04 13:46:45Z stativ $
+# $Id: PKGBUILD 105247 2014-02-03 11:23:55Z stativ $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=klavaro
-pkgver=2.00
+pkgver=3.00
pkgrel=1
pkgdesc="Free touch typing tutor program"
arch=('i686' 'x86_64' 'mips64el')
url="http://klavaro.sourceforge.net/"
license=('GPL2')
-depends=('curl' 'gtkdatabox' 'hicolor-icon-theme')
+depends=('curl' 'gtk3' 'hicolor-icon-theme')
makedepends=('intltool')
optdepends=('espeakup: voice output')
install=$pkgname.install
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
-md5sums=('f7c804fbad7f9a053dfcfbea6d91dce6')
+md5sums=('254559632d4ae26aa22b80be9f01cb47')
build() {
cd "$srcdir"/$pkgname-$pkgver
@@ -24,6 +24,10 @@ package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
+ # remove the gtkdatabox shared library
+ # klavaro links to it statically due to some incompatibility wioth GTK3
+ rm -r "$pkgdir/usr/lib"
+
sed -i 's|/usr/share/icons/hicolor/24x24/apps/klavaro.png|klavaro|' \
"$pkgdir"/usr/share/applications/$pkgname.desktop
}