# $Id: PKGBUILD 163374 2012-07-11 22:09:42Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-analitza pkgver=4.8.97 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=('8a91b68ed179c0f36c40aaddb54fa5b90bd6684f') 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 }