# $Id: PKGBUILD 137425 2011-09-07 17:28:51Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kgeography pkgver=4.7.1 pkgrel=1 pkgdesc="Geography Trainer" url="http://kde.org/applications/education/kgeography/" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kgeography-${pkgver}.tar.bz2") sha1sums=('65ebeb391952229ee3d410d0087d8a4e5262b6f7') 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 }