From 2b8e259413d7b28af319dddcc11b37c45f2e201c Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Wed, 22 May 2019 00:38:15 +0200 Subject: testing/karchive: new aport Closes GH-7992 --- testing/karchive/APKBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 testing/karchive/APKBUILD (limited to 'testing/karchive') diff --git a/testing/karchive/APKBUILD b/testing/karchive/APKBUILD new file mode 100644 index 0000000000..1bfe7aafd4 --- /dev/null +++ b/testing/karchive/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=karchive +pkgver=5.58.0 +pkgrel=0 +pkgdesc="Qt 5 addon providing access to numerous types of archives" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.0-only AND LGPL-2.1-or-later" +makedepends="extra-cmake-modules doxygen qt5-qttools-dev" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="fd3e4f013a18a2e2876a010ba673c207a8cc05f3e41723daf46181f915259a06ba63e02d0d47cbf9da0445da94ce02cc62cee4fb90d0da2323c3e51a4d3e4d35 karchive-5.58.0.tar.xz" -- cgit v1.2.3