added extra/kdeedu-kalzium

This commit is contained in:
Kevin Mihelich 2016-06-18 19:55:02 +00:00
parent aa8c611c6a
commit b78767701c

View file

@ -0,0 +1,34 @@
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - drop avogadro depend for now: GL-only
pkgname=kdeedu-kalzium
pkgver=16.04.2
pkgrel=1
pkgdesc="Periodic Table of Elements"
url="http://kde.org/applications/education/kalzium/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde-applications' 'kdeedu')
depends=('kdebase-runtime' 'ocaml' 'chemical-mime-data')
makedepends=('cmake' 'automoc4' 'mesa' 'eigen' 'eigen2' 'facile')
source=("http://download.kde.org/stable/applications/${pkgver}/src/kalzium-${pkgver}.tar.xz")
sha1sums=('e77caa2fdc375da4c030f30bcd99cad12fa62b81')
build() {
mkdir -p build
cd build
cmake ../kalzium-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}