void-packages/srcpkgs/libsysstat/template

26 lines
801 B
Bash

# Template file for 'libsysstat'
pkgname=libsysstat
version=0.4.6
revision=1
build_style=cmake
hostmakedepends="pkg-config lxqt-build-tools qt5-qmake qt5-host-tools"
makedepends="qt5-devel"
short_desc="Qt-based interface to system statistics"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="LGPL-2.1-or-later"
homepage="https://lxqt.org/"
distfiles="https://github.com/lxqt/libsysstat/releases/download/${version}/libsysstat-${version}.tar.xz"
checksum=e6c6383d6d6e0e67791be812329cb245035eed35e201e01088515e3ffefb13be
replaces="lxde-libsysstat>=0"
libsysstat-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
}
}