void-packages/srcpkgs/libfm-qt/template

27 lines
882 B
Bash

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