void-packages/srcpkgs/libfm-qt/template

27 lines
812 B
Bash

# Template file for 'libfm-qt'
pkgname=libfm-qt
version=1.3.0
revision=1
build_style=cmake
hostmakedepends="pkg-config lxqt-build-tools qt5-qmake qt5-host-tools perl"
makedepends="qt5-tools-devel qt5-x11extras-devel libexif-devel
menu-cache-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=4a747e2b578fa49df5f090d79970c9bd92816c67977e849befa527ee83ecac4e
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
}
}