void-packages/srcpkgs/libfm-qt/template

28 lines
896 B
Bash

# Template file for 'libfm-qt'
pkgname=libfm-qt
version=0.12.0
revision=1
build_style=cmake
configure_args="-DPULL_TRANSLATIONS=0"
hostmakedepends="pkg-config qt5-qmake qt5-host-tools qt5-tools"
makedepends="lxqt-build-tools qt5-tools-devel qt5-x11extras-devel
liblxqt-devel libfm-devel libexif-devel"
short_desc="Core library of PCManFM-Qt (Qt binding for libfm)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://lxqt.org/"
distfiles="https://github.com/lxde/libfm-qt/releases/download/${version}/libfm-qt-${version}.tar.xz"
checksum=a2cc4fc811aff6a83507e41770152cb01ea564668a33f4c878c7132a42b4f693
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
}
}