# $Id: PKGBUILD 139984 2011-10-05 19:11:31Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-parley pkgver=4.7.2 pkgrel=1 pkgdesc="Vocabulary Trainer" url="http://kde.org/applications/education/parley/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') depends=('kdebase-runtime' 'libkdeedu') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/parley-${pkgver}.tar.bz2") sha1sums=('65fab5b04f2b0a3598c764ab138acb3c335cbb48') build() { cd "${srcdir}" mkdir build cd build cmake ../parley-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }