diff --git a/dists/void/files/run b/dists/void/files/run new file mode 100644 index 0000000..a8f5307 --- /dev/null +++ b/dists/void/files/run @@ -0,0 +1,4 @@ +#!/bin/sh +exec 2>&1 +sv check g15daemon >/dev/null || exit 1 +exec g15stats diff --git a/dists/void/template b/dists/void/template new file mode 100644 index 0000000..e948569 --- /dev/null +++ b/dists/void/template @@ -0,0 +1,18 @@ +# Template file for 'g15stats' +pkgname=g15stats +version=3.0.3 +revision=1 +build_style=gnu-configure +CFLAGS=" -fcommon" # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common +makedepends="libgtop-devel g15daemon pkg-config" +depends="libgtop g15daemon" +short_desc="An usage monitor for G15daemon" +maintainer="Daniel Menelkir " +license="GPL-2.0-or-later" +homepage="https://gitlab.com/menelkir/g15stats" +distfiles="${homepage}/-/archive/${version}/g15stats-${version}.tar.bz2" +checksum=f5bb77d4b8a1030d07efc22919446c4abf876ca3086ff7c50cfcae9d67b64647 + +post_install() { + vsv g15stats +}