desktop/kalzium/PKGBUILD

38 lines
909 B
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
# Include global configuration
source ../kdeapps.conf
2011-07-23 02:02:15 +08:00
pkgname=kalzium
2011-07-23 02:02:15 +08:00
pkgver=${_kdever}
2017-05-02 05:29:40 +08:00
pkgrel=1
pkgdesc="Periodic Table of Elements"
2011-07-23 02:02:15 +08:00
url="http://kde.org/applications/education/kalzium/"
arch=(x86_64)
license=(GPL LGPL FDL)
depends=(hicolor-icon-theme khtml kdelibs4support knewstuff kplotting avogadrolibs)
2017-03-23 12:48:14 +08:00
makedepends=(extra-cmake-modules kdoctools kdesignerplugin python3 eigen3) # 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})
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
2017-03-11 19:09:51 +08:00
'SKIP')
validpgpkeys=(${Avalidpgpkeys})
prepare() {
mkdir -p build
cd ${pkgname}-${pkgver}
}
2011-07-23 02:02:15 +08:00
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
2011-07-23 02:02:15 +08:00
}
package() {
cd build
make DESTDIR=${pkgdir} install
2011-07-23 02:02:15 +08:00
}