void-packages/srcpkgs/mimetreeparser/template

32 lines
1.2 KiB
Bash

# Template file for 'mimetreeparser'
pkgname=mimetreeparser
version=24.08.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools gettext
qt6-declarative-host-tools"
makedepends="kf6-kcalendarcore-devel kf6-kcodecs-devel kf6-ki18n-devel
kf6-kwidgetsaddons-devel kmbox-devel kmime6-devel libkleo-devel
qt6-qt5compat-devel qt6-base-devel qt6-declarative-devel qt6-tools-devel"
short_desc="Parser for MIME trees"
maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/pim/mimetreeparser"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=e379627c037cd7ac316c545756326ea873fac3e430380e3262377bee02a9ec4c
mimetreeparser-devel_package() {
depends="${makepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/cmake
vmove usr/include
vmove usr/lib/qt6/mkspecs
vmove "usr/lib/*.so"
}
}