void-packages/srcpkgs/libfm-qt/template

27 lines
791 B
Bash

# Template file for 'libfm-qt'
pkgname=libfm-qt
version=2.0.2
revision=1
build_style=cmake
hostmakedepends="pkg-config lxqt-build-tools qt6-base qt6-tools perl"
makedepends="libexif-devel
menu-cache-devel lxqt-menu-data-devel"
short_desc="Core library of PCManFM-Qt"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="LGPL-2.1-or-later"
homepage="https://lxqt-project.org"
distfiles="https://github.com/lxqt/libfm-qt/archive/${version}.tar.gz"
checksum=3e7091b7f0c95c4bdfd9f7487358e373b90089b6f68bddef15533c75bad21a1a
replaces="libfm-qt5>=0"
libfm-qt-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
}
}