void-packages/srcpkgs/kf6-karchive/template

26 lines
812 B
Bash

# Template file for 'kf6-karchive'
pkgname=kf6-karchive
version=6.6.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=51e9d21cb87e2241bca6a69e1496661d05d00a581107bfcf9859aa9e70acac1b
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"
}
}