2013-12-18 02:36:04 +08:00
|
|
|
# Include global configuration
|
2015-04-07 23:08:47 +08:00
|
|
|
source ../kdeapps.conf
|
2011-07-23 02:02:15 +08:00
|
|
|
|
2016-12-21 05:48:24 +08:00
|
|
|
pkgname=kalzium
|
2011-07-23 02:02:15 +08:00
|
|
|
pkgver=${_kdever}
|
2014-02-01 19:24:18 +08:00
|
|
|
pkgrel=1
|
2016-12-21 05:48:24 +08:00
|
|
|
pkgdesc="Periodic Table of Elements"
|
2011-07-23 02:02:15 +08:00
|
|
|
url="http://kde.org/applications/education/kalzium/"
|
2016-12-21 05:48:24 +08:00
|
|
|
arch=(x86_64)
|
|
|
|
license=(GPL LGPL FDL)
|
|
|
|
depends=(hicolor-icon-theme khtml kdelibs4support knewstuff kplotting avogadrolibs)
|
|
|
|
makedepends=(extra-cmake-modules kdoctools kdesignerplugin python eigen) # ocaml facile
|
|
|
|
conflicts=(kdeedu-kalzium)
|
|
|
|
replaces=(kdeedu-kalzium)
|
|
|
|
options=(docs debug)
|
|
|
|
groups=(kde kde-uninstall kde-applications kdeedu)
|
2017-03-11 19:09:51 +08:00
|
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig})
|
2016-12-21 05:48:24 +08:00
|
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
|
2017-03-11 19:09:51 +08:00
|
|
|
'SKIP')
|
2016-12-21 05:48:24 +08:00
|
|
|
validpgpkeys=(${Avalidpgpkeys})
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
2017-02-12 05:22:09 +08:00
|
|
|
|
|
|
|
cd ${pkgname}-${pkgver}
|
2016-12-21 05:48:24 +08:00
|
|
|
}
|
2011-07-23 02:02:15 +08:00
|
|
|
|
2012-11-18 23:55:21 +08:00
|
|
|
build() {
|
2016-12-21 05:48:24 +08:00
|
|
|
cd build
|
|
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
|
|
make
|
2011-07-23 02:02:15 +08:00
|
|
|
}
|
|
|
|
|
2012-11-18 23:55:21 +08:00
|
|
|
package() {
|
2016-12-21 05:48:24 +08:00
|
|
|
cd build
|
|
|
|
make DESTDIR=${pkgdir} install
|
2011-07-23 02:02:15 +08:00
|
|
|
}
|