# $Id: PKGBUILD 139960 2011-10-05 19:10:53Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kanagram pkgver=4.7.2 pkgrel=1 pkgdesc="Letter Order Game" url="http://kde.org/applications/education/kanagram/" 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/kanagram-${pkgver}.tar.bz2") sha1sums=('0dd7dd66f87f99a5f0f2b4a7340c4690240c2478') build() { cd "${srcdir}" mkdir build cd build cmake ../kanagram-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }