summaryrefslogtreecommitdiff
path: root/community/klavaro/PKGBUILD
blob: 45465d331eff4db206f90cb4e7f87933fa4d37f0 (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
# $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' 'mips64el')
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
}