# $Id: PKGBUILD 143354 2011-11-24 16:14:49Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kalzium pkgver=4.7.80 pkgrel=1 pkgdesc="Periodic Table of Elements" url="http://kde.org/applications/education/kalzium/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') depends=('kdelibs' 'avogadro' 'ocaml' 'facile') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/unstable/${pkgver}/src/kalzium-${pkgver}.tar.bz2") sha1sums=('d6dbca03628ed96a256c3c603fae220a97d6fec3') build() { cd "${srcdir}" mkdir build cd build cmake ../kalzium-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }