Subject: [PATCH] testing/kcachegrind: new aport

From: Bart Ribbers <[email-masked]>
Date: Tue, 16 Jul 2019 22:59:59 +0200

---
 testing/kcachegrind/APKBUILD | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 testing/kcachegrind/APKBUILD

diff --git a/testing/kcachegrind/APKBUILD b/testing/kcachegrind/APKBUILD
new file mode 100644
index 0000000000..16be7cfa3a
--- /dev/null
+++ b/testing/kcachegrind/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=kcachegrind
+pkgver=19.04.3
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/development/org.kde.kcachegrind"
+pkgdesc="A profile data visualization tool, used to determine the most time consuming parts in the execution of a program"
+license="GPL-2.0-or-only AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qttools-dev karchive-dev kcoreaddons-dev kdoctools-dev kwidgetsaddons-dev kxmlgui-dev ki18n-dev kconfig-dev kio-dev kdbusaddons-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+options="!check" # No tests
+
+build() {
+	cmake \
+		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_INSTALL_LIBDIR=lib
+	make
+}
+
+check() {
+	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+	DESTDIR="$pkgdir" make install
+}
+
+sha512sums="a49212d7b3667a7da028e48e03813bb985c08ff6e533bc572e884a297780d9107e8c5496433728d2d590b7ba9a8141f6e3a33c6e6443c1c62ba86af1787cfa0c  kcachegrind-19.04.3.tar.xz"
-- 
2.22.0