diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-06-19 00:44:25 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-18 20:25:17 -0300 |
commit | 07f1a91b863792464e9761cfd578c93b78c7ccfe (patch) | |
tree | 049cac3568cf5735320e7e0119b0cb7f2d6f5015 | |
parent | 362364c3aad057873a9463c9117f53c6c31bf1d3 (diff) | |
download | aports-07f1a91b863792464e9761cfd578c93b78c7ccfe.tar.bz2 aports-07f1a91b863792464e9761cfd578c93b78c7ccfe.tar.xz |
testing/ark: new aport
-rw-r--r-- | testing/ark/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/ark/APKBUILD b/testing/ark/APKBUILD new file mode 100644 index 0000000000..bd1b049390 --- /dev/null +++ b/testing/ark/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=ark +pkgver=19.04.2 +pkgrel=0 +pkgdesc="Graphical file compression/decompression utility with support for multiple formats" +arch="all" +url="https://kde.org/applications/utilities/org.kde.ark" +license="GPL-2.0-only" +depends="lrzip zstd p7zip zip unzip unrar" +makedepends="extra-cmake-modules qt5-qtbase-dev karchive-dev kconfig-dev kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev kitemmodels-dev kio-dev kservice-dev kparts-dev kpty-dev kwidgetsaddons-dev libarchive-dev libzip-dev xz-dev shared-mime-info" +checkdepends="xvfb-run" +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() { + # plugins-cliunarchivertest is broken since Qt 5.11 + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "plugins-clirartest" +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="a6991ce707294436520ba1cac0ed8c6125f88ce7448d7dff5dbfdd1ebf116a302f9d434793db08eb712681b16aee6ee826af027bb608be66ef08de5df8d222da ark-19.04.2.tar.xz" |