From 8a9a20330462859394f04e0439c40ec2cfbb0fa6 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Thu, 20 Jun 2019 15:59:50 +0200 Subject: testing/kdiagram: new aport --- testing/kdiagram/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 testing/kdiagram/APKBUILD diff --git a/testing/kdiagram/APKBUILD b/testing/kdiagram/APKBUILD new file mode 100644 index 0000000000..7cf6104164 --- /dev/null +++ b/testing/kdiagram/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=kdiagram +pkgver=2.6.1 +pkgrel=0 +pkgdesc="Powerful libraries (KChart, KGantt) for creating business diagrams" +arch="all" +url="https://kontact.kde.org/" +license="GPL-2.0-or-later" +depends_dev="qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev" +makedepends="$depends_dev extra-cmake-modules doxygen" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/kdiagram/$pkgver/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="caa1f6f8bffb4b311224edfed115f189fa9c88e4b9d8bc9d4b7bc963c6b8c896813b438ad89fa9e91e4cde2f55ae822cfc7ba559bbdad517c60a037591dc5128 kdiagram-2.6.1.tar.xz" -- cgit v1.2.3