blob: 3a1d33da3baf0f117464d944d0aa6a9f7d71439c (
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=23.04.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="
6ca740fef459232cf7ff19d76b2ddcb080b8c9b34a0c718dae0875253417a6f3f8f9c4a7bd2bc5002ae06bb41eef7f958a40f0d54896680e82879ef0f1cbed10 ark-23.04.3.tar.xz
"
|