void-packages/srcpkgs/kf6-karchive/template

26 lines
812 B
Bash

# Template file for 'kf6-karchive'
pkgname=kf6-karchive
version=6.3.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=27807f5707668f9aa41c898eba90198a3083577fdab9f4751a02fefe63674e29
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"
}
}