aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cantor
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-09-02 14:04:41 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-09-02 10:19:10 -0300
commit7ed890af93466e623f9871376a60583087706181 (patch)
tree57b85d1f019757b31629f8e96a5b7379e3639d0b /testing/cantor
parent9f2ccb4343faa7d699880e845df717eaef01eb08 (diff)
downloadaports-7ed890af93466e623f9871376a60583087706181.tar.bz2
aports-7ed890af93466e623f9871376a60583087706181.tar.xz
testing/cantor: new aport
Diffstat (limited to 'testing/cantor')
-rw-r--r--testing/cantor/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/cantor/APKBUILD b/testing/cantor/APKBUILD
new file mode 100644
index 0000000000..ac865c688d
--- /dev/null
+++ b/testing/cantor/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=cantor
+pkgver=19.08.0
+pkgrel=0
+arch="all"
+url="http://edu.kde.org/cantor/"
+pkgdesc="KDE Frontend to Mathematical Software "
+license="GPL-2.0-or-later"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtxmlpatterns-dev kconfig-dev kcrash-dev kcompletion-dev kdoctools-dev knewstuff-dev kiconthemes-dev ktexteditor-dev kcoreaddons-dev karchive-dev kparts-dev syntax-highlighting-dev ktextwidgets-dev kio-dev kxmlgui-dev ki18n-dev poppler-qt5-dev kpty-dev analitza-dev python3-dev discount-dev"
+checkdepends="xvfb-run"
+source="https://download.kde.org/stable/applications/$pkgver/src/cantor-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="ed40d123211b7f1585affcd88fa9549d15ebcda3fa23cdbb6ea7fc932eb79b3d84428cc0552350644faebded17088887d0e3dcda5635c4ac69df56be395a63a1 cantor-19.08.0.tar.xz"