mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# Include global configuration
|
|
source ../kdeapps.conf
|
|
|
|
pkgname=kalzium
|
|
pkgver=${_kdever}
|
|
pkgrel=1
|
|
pkgdesc="Periodic Table of Elements"
|
|
url="http://kde.org/applications/education/kalzium/"
|
|
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)
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz"{,.sig}
|
|
fno-operator-names.patch::https://cgit.kde.org/kalzium.git/patch/?id=04048799910fc423a5fa100a1c46b91dbe8e7e61)
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
|
|
'SKIP'
|
|
'5bd740d544e726343d5e9628e20d3eab02b06755e042957566e4f596c0e73bbd')
|
|
validpgpkeys=(${Avalidpgpkeys})
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
# https://cgit.kde.org/kalzium.git/patch/?id=04048799910fc423a5fa100a1c46b91dbe8e7e61
|
|
patch -Np1 -i "${srcdir}/fno-operator-names.patch"
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|