# $Id: PKGBUILD 202478 2013-12-22 12:47:02Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-analitza pkgver=4.12.0 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' 'mips64el') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') depends=('kdebase-runtime' 'glu') makedepends=('cmake' 'automoc4') source=("http://download.kde.org/stable/${pkgver}/src/analitza-${pkgver}.tar.xz") sha1sums=('a90c58d24c8cba048fc5303ef35e870536603119') prepare() { mkdir build } build() { cd build cmake ../analitza-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="${pkgdir}" install }