Subject: [PATCH] testing/kdf: new aport

From: Bart Ribbers <[email-masked]>
Date: Tue, 16 Jul 2019 12:34:14 +0200

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

diff --git a/testing/kdf/APKBUILD b/testing/kdf/APKBUILD
new file mode 100644
index 0000000000..2551465bbb
--- /dev/null
+++ b/testing/kdf/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=kdf
+pkgver=19.04.3
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/system/kdiskfree/"
+pkgdesc="View disk usage"
+license="GPL-2.0-or-later"
+makedepends="extra-cmake-modules qt5-qtbase-dev kconfigwidgets-dev kcoreaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev kio-dev kcmutils-dev knotifications-dev kwidgetsaddons-dev kxmlgui-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+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="45a4f51677abaf105166129196c8369a2bf91d1b27d2321d959f23c9b97d2c8a888bfd252e7c839311af32508d0b6549bc326a1bd3b08ec924db751f87abe996  kdf-19.04.3.tar.xz"
-- 
2.22.0