aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kdiagram/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-20 15:59:50 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-20 19:26:42 -0300
commit8a9a20330462859394f04e0439c40ec2cfbb0fa6 (patch)
tree2661a0ecb4b36911a504ee455036552f8a22643c /testing/kdiagram/APKBUILD
parent2eaacf02c3406abd49610a81621d782c786cda38 (diff)
downloadaports-8a9a20330462859394f04e0439c40ec2cfbb0fa6.tar.bz2
aports-8a9a20330462859394f04e0439c40ec2cfbb0fa6.tar.xz
testing/kdiagram: new aport
Diffstat (limited to 'testing/kdiagram/APKBUILD')
-rw-r--r--testing/kdiagram/APKBUILD32
1 files changed, 32 insertions, 0 deletions
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 <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+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"