blob: 8d0a81d8af1a7ff7894dc97462c5520cce81d98a (
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
|
# $Id: PKGBUILD 105247 2014-02-03 11:23:55Z stativ $
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=klavaro
pkgver=3.00
pkgrel=1
pkgdesc="Free touch typing tutor program"
arch=('i686' 'x86_64')
url="http://klavaro.sourceforge.net/"
license=('GPL2')
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=('254559632d4ae26aa22b80be9f01cb47')
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr
make
}
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
}
|