PKGBUILDs/extra/kdeedu-kalzium/PKGBUILD

35 lines
929 B
Bash
Raw Normal View History

2016-06-18 19:55:02 +00:00
# $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
2016-10-13 18:17:20 +00:00
pkgver=16.08.2
2016-06-18 19:55:02 +00:00
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')
2016-09-08 18:31:59 +00:00
depends=('kdebase-runtime' 'chemical-mime-data')
makedepends=('cmake' 'automoc4' 'mesa' 'eigen' 'facile' 'ocaml')
2016-06-18 19:55:02 +00:00
source=("http://download.kde.org/stable/applications/${pkgver}/src/kalzium-${pkgver}.tar.xz")
2016-10-13 18:17:20 +00:00
sha1sums=('7309a0d1966e9d42d5be798864f60812ed255a19')
2016-06-18 19:55:02 +00:00
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
}