void-packages/srcpkgs/libsysstat/template

26 lines
796 B
Bash

# Template file for 'libsysstat'
pkgname=libsysstat
version=0.4.2
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.org>"
license="LGPL-2.1-or-later"
homepage="https://lxqt.org/"
distfiles="https://github.com/lxqt/libsysstat/releases/download/${version}/libsysstat-${version}.tar.xz"
checksum=fca482b60fab63bd1eddb594631c76c1373a3b1fcdba19129d49653813e1e967
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
}
}