description="Utilities to monitor system performance and usage activity." url="http://pagesperso-orange.fr/sebastien.godard/" packager="spiky " contributors="Fanch,Pierre,Tnut" license="GPL2" name=sysstat version=12.7.5 PKGMK_KEEP_SOURCES="no" source=(https://github.com/sysstat/sysstat/archive/refs/tags/v$version.tar.gz) build() { cd $name-$version sa_lib_dir=/usr/lib/sa \ sa_dir=/var/log/sa \ conf_dir=/etc/sysconfig \ ./configure --prefix=/usr \ --disable-file-attr \ --mandir=/usr/share/man \ --enable-copy-only \ --disable-man-group make make DESTDIR=$PKG install install -vdm755 $PKG/lib/systemd/system/ install -v -m644 sysstat.service $PKG/lib/systemd/system/sysstat.service sed -i "/^Also=/d" $PKG/lib/systemd/system/sysstat.service install -Dm644 COPYING $PKG/usr/share/licenses/$name/COPYING }