diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/klavaro/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/klavaro/PKGBUILD')
-rw-r--r-- | community/klavaro/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/klavaro/PKGBUILD b/community/klavaro/PKGBUILD new file mode 100644 index 000000000..a451abb80 --- /dev/null +++ b/community/klavaro/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 43686 2011-03-29 05:52:51Z stativ $ +# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com> +pkgname=klavaro +pkgver=1.9.0 +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') +install=$pkgname.install +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('e6ad9c7b3d9b3060f32441b04aa9c632') + +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 +} |