From 25857188f076e535be1c5371e1af1faf27bdaf01 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Sun, 14 Feb 2016 17:12:53 +0100 Subject: [PATCH] New package: xssstate-1.1 --- srcpkgs/xssstate/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/xssstate/template diff --git a/srcpkgs/xssstate/template b/srcpkgs/xssstate/template new file mode 100644 index 00000000000..b62fea7ae0d --- /dev/null +++ b/srcpkgs/xssstate/template @@ -0,0 +1,25 @@ +# Template file for 'xssstate' +pkgname=xssstate +version=1.1 +revision=1 +build_style=gnu-makefile +make_build_args="INCS=-I." +makedepends="libX11-devel libXScrnSaver-devel" +short_desc="A simple tool to retrieve the X screensaver state" +maintainer="bra1nwave " +license="MIT" +homepage="http://tools.suckless.org/x/xssstate" +distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz" +checksum=c4b6f504a6a8eb247bc60960bd65cbf9631c008449a1d71ac4c55e34be1c6011 + +pre_build() { + sed -i 's/-O0 //g' config.mk + sed -i 's/^CFLAGS =/override CFLAGS +=/g' config.mk + sed -i 's/^LDFLAGS =/override LDFLAGS +=/g' config.mk +} + +post_install() { + vdoc README + vsconf xsidle.sh + vlicense LICENSE +}