# $Id: PKGBUILD 160103 2012-05-29 22:32:46Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-analitza pkgver=4.8.80 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=('5ebeced5d8f4b2aa58e532d5c46511e01fe31f54') 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 }