26 lines
714 B
Bash
26 lines
714 B
Bash
|
# 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
|
||
|
}
|