void-packages/srcpkgs/kf6-karchive/template

26 lines
812 B
Bash

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