void-packages/srcpkgs/libsysstat/template

26 lines
795 B
Bash

# Template file for 'libsysstat'
pkgname=libsysstat
version=0.4.1
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="Juan RP <xtraeme@voidlinux.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=c376e5c3a650d56873f2bd757292282f6b6b5af7ecc6d24c7a4df7b8c646ff59
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
}
}