# $Id: PKGBUILD 167585 2012-10-02 19:14:04Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-analitza pkgver=4.9.2 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/stable/${pkgver}/src/analitza-${pkgver}.tar.xz") sha1sums=('065e449af454e08f02ece846fe5b28db09bda1be') 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 }