# $Id: PKGBUILD 161687 2012-06-13 14:18:32Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-analitza pkgver=4.8.90 pkgrel=1 pkgdesc="A library to add mathematical features to your program" url="https://projects.kde.org/projects/kde/kdeedu/analitza" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') source=("http://download.kde.org/unstable/${pkgver}/src/analitza-${pkgver}.tar.xz") sha1sums=('00e7837542caa3992c84b658fcf368f45faefb82') build() { cd "${srcdir}" mkdir build cd build cmake ../analitza-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }