# $Id: PKGBUILD 153132 2012-03-12 09:19:34Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kalgebra pkgver=4.8.1 pkgrel=1 pkgdesc="Graph Calculator" url="http://kde.org/applications/education/kalgebra/" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') depends=('kdebase-runtime' 'libkdeedu' 'kdeedu-analitza') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kalgebra-${pkgver}.tar.xz") sha1sums=('79f4c85e93a1d270d9d7ba648b86d49fca42d6fb') build() { cd "${srcdir}" mkdir build cd build cmake ../kalgebra-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }