# Template file for 'kf6-karchive'
pkgname=kf6-karchive
version=6.25.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
 pkg-config"
makedepends="qt6-base-devel zlib-devel bzip2-devel liblzma-devel
 libzstd-devel"
short_desc="Qt addon providing access to numerous types of archives"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/karchive"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=123a268352ab63d548ba5e3c3e8fbf1d737025e4c5189821cf10e3328ab4de15

kf6-karchive-devel_package() {
	depends="$makedepends ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
