void-packages/srcpkgs/karchive/template
2019-12-14 20:39:15 +01:00

25 lines
868 B
Bash

# Template file for 'karchive'
pkgname=karchive
version=5.65.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 <johnz@posteo.net>"
license="LGPL-2.0-only, LGPL-2.0-or-later"
homepage="https://projects.kde.org/projects/frameworks/karchive"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=9e6cdb2cf10407fd435b97eb284ac56ad1bca95f0b1789a8bc26c9cee7edcc52
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"
}
}