From 68bb5989d946bb3b45858dabfa6d4d032854da2f Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Mon, 2 Mar 2020 11:36:14 +0100 Subject: community/kmplot: move from testing --- community/kmplot/APKBUILD | 32 ++++++++++++++++++++++++++++++++ testing/kmplot/APKBUILD | 31 ------------------------------- 2 files changed, 32 insertions(+), 31 deletions(-) create mode 100644 community/kmplot/APKBUILD delete mode 100644 testing/kmplot/APKBUILD diff --git a/community/kmplot/APKBUILD b/community/kmplot/APKBUILD new file mode 100644 index 0000000000..ff1844c917 --- /dev/null +++ b/community/kmplot/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kmplot +pkgver=19.12.2 +pkgrel=1 +arch="all !armhf" +url="http://edu.kde.org/kmplot" +pkgdesc="Mathematical Function Plotter" +license="GPL-2.0-or-later AND GFDL-1.2-only" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kcrash-dev kguiaddons-dev ki18n-dev kparts-dev kwidgetsaddons-dev kdoctools-dev kdbusaddons-dev" +source="https://download.kde.org/stable/release-service/$pkgver/src/kmplot-$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="178ad4683ffbe82775d2cb53cd925d54912e650d2e5ccfec0d2af3a69eff07d195cd81b50ad75db994939bafe92e565597d285abfe875a7859016421b24cc4f6 kmplot-19.12.2.tar.xz" diff --git a/testing/kmplot/APKBUILD b/testing/kmplot/APKBUILD deleted file mode 100644 index 31255cbf95..0000000000 --- a/testing/kmplot/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Bart Ribbers -# Maintainer: Bart Ribbers -pkgname=kmplot -pkgver=19.12.2 -pkgrel=1 -arch="all !armhf" -url="http://edu.kde.org/kmplot" -pkgdesc="Mathematical Function Plotter" -license="GPL-2.0-or-later AND GFDL-1.2-only" -makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kcrash-dev kguiaddons-dev ki18n-dev kparts-dev kwidgetsaddons-dev kdoctools-dev kdbusaddons-dev" -source="https://download.kde.org/stable/release-service/$pkgver/src/kmplot-$pkgver.tar.xz" -subpackages="$pkgname-doc $pkgname-lang" -options="!check" # No tests - -build() { - cmake \ - -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib - make -} - -check() { - CTEST_OUTPUT_ON_FAILURE=TRUE ctest -} - -package() { - DESTDIR="$pkgdir" make install -} - -sha512sums="178ad4683ffbe82775d2cb53cd925d54912e650d2e5ccfec0d2af3a69eff07d195cd81b50ad75db994939bafe92e565597d285abfe875a7859016421b24cc4f6 kmplot-19.12.2.tar.xz" -- cgit v1.2.3