2a0dcdac5a
Built and tested on x86_64. [ci:skip-build]: ollieparanoid made sure that this builds for x86_64, aarch64, armhf, armv7
33 lines
923 B
Text
33 lines
923 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=karchive
|
|
pkgver=5.56.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.1"
|
|
makedepends="extra-cmake-modules doxygen qt5-qttools-dev"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev"
|
|
options="!check" # armhf problems
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="9c6c0b0103a06476571d6a848ebaffe89c6da602b7de0e6db44be5dee2dacab45feb5df7ff3165ef56d30f8e5fa4061d341e4ca9e46cbd7331ffb153cc36ddf7 karchive-5.56.0.tar.xz"
|