# $Id: PKGBUILD 195610 2013-10-01 15:22:56Z svenstaro $ # Maintainer: Andrea Scarpino pkgname=kdeedu-ktouch pkgver=4.11.2 pkgrel=1 pkgdesc="Touch Typing Tutor" url="http://kde.org/applications/education/ktouch/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4' 'mesa') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/ktouch-${pkgver}.tar.xz") sha1sums=('d8b1c37a0270dbfba63d5dc2e73d7320e58c07e5') build() { cd "${srcdir}" mkdir build cd build cmake ../ktouch-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }