mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
34 lines
929 B
Bash
34 lines
929 B
Bash
# $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.08.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' 'chemical-mime-data')
|
|
makedepends=('cmake' 'automoc4' 'mesa' 'eigen' 'facile' 'ocaml')
|
|
source=("http://download.kde.org/stable/applications/${pkgver}/src/kalzium-${pkgver}.tar.xz")
|
|
sha1sums=('7309a0d1966e9d42d5be798864f60812ed255a19')
|
|
|
|
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
|
|
}
|