summaryrefslogtreecommitdiff
path: root/user/kalzium/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/kalzium/APKBUILD')
-rw-r--r--user/kalzium/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/user/kalzium/APKBUILD b/user/kalzium/APKBUILD
index 708b40b76..b05e637a1 100644
--- a/user/kalzium/APKBUILD
+++ b/user/kalzium/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kalzium
-pkgver=19.08.0
+pkgver=22.04.2
pkgrel=0
pkgdesc="Periodic table of elements (PSE) with calculators"
url="https://www.kde.org/applications/education/kalzium/"
@@ -14,10 +14,9 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtscript-dev
kparts-dev kplotting-dev solid-dev kunitconversion-dev
kwidgetsaddons-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/kalzium-$pkgver.tar.xz"
+source="https://download.kde.org/stable/release-service/$pkgver/src/kalzium-$pkgver.tar.xz"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -29,18 +28,16 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DEIGEN3_INCLUDE_DIR=/usr/include/eigen3 \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}
check() {
- cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="042f6613c2f8312db4a9268f27d040d9a885739d3dd3e47536e465ee94080634e4851721464be8025bf0f381f215bdc89980a5bcfed7439010360cfade02da1f kalzium-19.08.0.tar.xz"
+sha512sums="161dddba0eafc00ae713381a983b3719e5a09363d834b5b62dfc030d99c0e92da1ace517481a0675f72ca13c94c07df78e87ced699af100a4e8067530a020267 kalzium-22.04.2.tar.xz"