aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kalgebra/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-09-02 14:04:42 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-09-02 10:19:10 -0300
commitcd5bf34fc45912e0d8dfcace272fc01a29de4349 (patch)
treead6a27f3fd936453c8b5c0a7545f8e52050e59b9 /testing/kalgebra/APKBUILD
parent7ed890af93466e623f9871376a60583087706181 (diff)
downloadaports-cd5bf34fc45912e0d8dfcace272fc01a29de4349.tar.gz
aports-cd5bf34fc45912e0d8dfcace272fc01a29de4349.tar.bz2
aports-cd5bf34fc45912e0d8dfcace272fc01a29de4349.tar.xz
testing/kalgebra: new aport
Diffstat (limited to 'testing/kalgebra/APKBUILD')
-rw-r--r--testing/kalgebra/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kalgebra/APKBUILD b/testing/kalgebra/APKBUILD
new file mode 100644
index 0000000000..3e0b22c93d
--- /dev/null
+++ b/testing/kalgebra/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kalgebra
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="http://edu.kde.org/kalgebra/"
+pkgdesc="2D and 3D Graph Calculator"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtdeclarative-dev analitza-dev ki18n-dev kcoreaddons-dev kconfigwidgets-dev kwidgetsaddons-dev kio-dev kdoctools-dev ncurses-dev readline-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+options="!check" # No tests
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="3d5c5ecb8746378333537eca96d6cf409cfecc35fcb71cd6ffbca2bc489e196f28a9a153590b1111c4928084660120c374242ee3020c0b58071dbceb241c3188 kalgebra-19.08.0.tar.xz"