diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-03-02 11:25:05 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-03 08:50:05 -0300 |
commit | 65868aded40cea35533890d8152dad05579066f6 (patch) | |
tree | a4afc9e88bc83dddfe2198c0c4558135c1bc0d2e /community/kalgebra | |
parent | d58e35ccd8c1b832bdd0610d7463b91b1363ef1c (diff) | |
download | aports-65868aded40cea35533890d8152dad05579066f6.tar.bz2 aports-65868aded40cea35533890d8152dad05579066f6.tar.xz |
community/kalgebra: move from testing
Diffstat (limited to 'community/kalgebra')
-rw-r--r-- | community/kalgebra/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/kalgebra/APKBUILD b/community/kalgebra/APKBUILD new file mode 100644 index 0000000000..5334adcefb --- /dev/null +++ b/community/kalgebra/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kalgebra +pkgver=19.12.2 +pkgrel=1 +arch="all !armhf" # armhf blocked by qt5-qtdeclarative +url="https://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/release-service/$pkgver/src/kalgebra-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" +options="!check" # No tests + +build() { + cmake -B "$builddir"/build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make -C build +} + +check() { + cd "$builddir"/build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make -C build install +} + +sha512sums="2ae771a71ef65456a19275fb1ba31727479f59b95d099a52fc389abb74f8ab27498d01fffead543647e179ea9322b88de97f101eea9118b92cea74754c3c9181 kalgebra-19.12.2.tar.xz" |