From 65868aded40cea35533890d8152dad05579066f6 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Mon, 2 Mar 2020 11:25:05 +0100 Subject: community/kalgebra: move from testing --- community/kalgebra/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 community/kalgebra/APKBUILD (limited to 'community') 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 +# Maintainer: Bart Ribbers +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" -- cgit v1.2.3