blob: ce09bcbe82f06ec3b34f0c71677925ce713f3ba8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=ark
pkgver=22.08.3
pkgrel=0
pkgdesc="Graphical file compression/decompression utility with support for multiple formats"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://kde.org/applications/utilities/org.kde.ark"
license="GPL-2.0-only"
depends="
7zip-virtual
lrzip
unzip
zip
zstd
"
makedepends="
extra-cmake-modules
karchive-dev
kconfig-dev
kcrash-dev
kdbusaddons-dev
kdoctools-dev
ki18n-dev
kiconthemes-dev
kio-dev
kitemmodels-dev
kparts-dev
kpty-dev
kservice-dev
kwidgetsaddons-dev
libarchive-dev
libzip-dev
qt5-qtbase-dev
samurai
shared-mime-info
xz-dev
"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/ark-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
# secfixes:
# 20.08.0-r1:
# - CVE-2020-24654
# 20.04.3-r1:
# - CVE-2020-16116
case "$CARCH" in
# FIXME: tests fail, see alpine/aports#14266
x86_64) options="!check";;
esac
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run -a ctest
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
5d25abb7cd70f96e8b77d79d70c093551410f38763e347660277093ec5673c4d9de63d68ebeead3bf12c4ea65fd8549753879777d561edbefe05739c41ffcebd ark-22.08.3.tar.xz
"
|