summaryrefslogtreecommitdiff
path: root/community/klavaro
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-04 03:35:24 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-04 03:35:24 +0000
commit994ca8b3d7a14ef97d75b40b7554a9892bd0283f (patch)
tree6128c516b709c016d8987fa54aef7e9e341d0b91 /community/klavaro
parent5646de4a9273897b8a619641ed988c4bb217a509 (diff)
Tue Feb 4 03:33:07 UTC 2014
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 147471612..8d0a81d8a 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')
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
}