26 lines
859 B
Bash
26 lines
859 B
Bash
# Template file for 'karchive'
|
|
pkgname=karchive
|
|
version=5.82.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules qt5-host-tools qt5-devel"
|
|
makedepends="qt5-devel zlib-devel bzip2-devel liblzma-devel"
|
|
short_desc="Qt5 addon providing access to numerous types of archives"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.0-only, LGPL-2.0-or-later"
|
|
homepage="https://invent.kde.org/frameworks/karchive"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=b59821111c9419a746806044e8e0f16bd6be8c8f0eb3938f585aa3cee7dc4c8a
|
|
|
|
karchive-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|