Merge pull request #3623 from bra1nwave/xssstate
New package: xssstate-1.1
This commit is contained in:
commit
d498f29f36
1 changed files with 25 additions and 0 deletions
25
srcpkgs/xssstate/template
Normal file
25
srcpkgs/xssstate/template
Normal 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
|
||||
}
|
Loading…
Reference in a new issue