New package: xssstate-1.1

This commit is contained in:
bra1nwave 2016-02-14 17:12:53 +01:00
parent 8c1c058949
commit 25857188f0

25
srcpkgs/xssstate/template Normal file
View File

@ -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 <brainwave@openmailbox.org>"
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
}