# $Id: PKGBUILD 146123 2012-01-05 12:50:52Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kgeography pkgver=4.7.97 pkgrel=1 pkgdesc="Geography Trainer" url="http://kde.org/applications/education/kgeography/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/unstable/${pkgver}/src/kgeography-${pkgver}.tar.bz2") sha1sums=('10ccddf15dc2f7f0e0e0df452a171624cc298c85') build() { cd "${srcdir}" mkdir build cd build cmake ../kgeography-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }