void-packages/srcpkgs/libfm-qt/template

27 lines
831 B
Bash

# Template file for 'libfm-qt'
pkgname=libfm-qt
version=0.16.0
revision=1
build_style=cmake
hostmakedepends="pkg-config lxqt-build-tools qt5-qmake qt5-host-tools"
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.org/"
distfiles="https://github.com/lxqt/libfm-qt/releases/download/${version}/libfm-qt-${version}.tar.xz"
checksum=7796e74cf372d7ae3289f5d584f2e0d7bd29020b4e0d79308a157c970860f7b4
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
}
}