# $Id: PKGBUILD 152068 2012-03-04 14:40:57Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kbruch pkgver=4.8.0 pkgrel=1 pkgdesc="Exercise Fractions" url="http://kde.org/applications/education/kbruch/" 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/xz/kbruch-${pkgver}.tar.xz") sha1sums=('0f602d0dd1355dbf84c26f813458bdeb0508f4f8') build() { cd "${srcdir}" mkdir build cd build cmake ../kbruch-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }