diff --git a/srcpkgs/slstatus/files/config.h b/srcpkgs/slstatus/files/config.h index b10586912e5..55fb8a92dbe 100644 --- a/srcpkgs/slstatus/files/config.h +++ b/srcpkgs/slstatus/files/config.h @@ -1,5 +1,11 @@ /* See LICENSE file for copyright and license details. */ +/* interval between updates (in ms) */ +static const int interval = 1000; + +/* maximum output string length */ +#define MAXLEN 2048 + /* alsa sound */ #define ALSA_CHANNEL "Master" diff --git a/srcpkgs/slstatus/template b/srcpkgs/slstatus/template index 1447296d8c0..f20d8d3750d 100644 --- a/srcpkgs/slstatus/template +++ b/srcpkgs/slstatus/template @@ -1,15 +1,17 @@ # Template file for 'slstatus' pkgname=slstatus -version=2.0 +version=20180106 revision=1 +_commit=8bfe4b2e280e4d4b9762d3a93c4ec94c2fc9d754 +wrksrc="${pkgname}-${_commit}" build_style=gnu-makefile short_desc="Suckless status monitor for dwm" maintainer="Dom H. " license="ISC" -homepage="https://git.nulltime.net/slstatus" -distfiles="${homepage}/snapshot/${pkgname}-${version}.tar.gz" +homepage="https://tools.suckless.org/slstatus/" +distfiles="https://git.suckless.org/slstatus/snapshot/${pkgname}-${_commit}.tar.gz" makedepends="alsa-lib-devel libX11-devel" -checksum=a7fd452940d4136376df3f9887e231fc183f4cbe8473c6c63a0687905406351f +checksum=d6f9d4decd227200eeffb55ac184ee5eeb23443e12a74a1fd00d98a584c060dc pre_build() { cp ${FILESDIR}/config.h config.h