# Template file for 'libfm-qt5'
pkgname=libfm-qt5
version=1.4.0
revision=1
build_style=cmake
hostmakedepends="pkg-config lxqt-build-tools-qt5 qt5-qmake qt5-host-tools perl"
makedepends="qt5-tools-devel qt5-x11extras-devel libexif-devel
 menu-cache-devel lxqt-menu-data-devel"
short_desc="Core library of PCManFM-Qt"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://lxqt-project.org"
distfiles="https://github.com/lxqt/libfm-qt/archive/${version}.tar.gz"
checksum=fbca95a2d3dab9ac21e685cf15534bb832973442046965bea0ef806cc770e7bf

libfm-qt5-devel_package() {
	short_desc+=" - development files"
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.so
		vmove usr/share/cmake
	}
}
