void-packages/srcpkgs/slstatus/template

23 lines
638 B
Bash
Raw Normal View History

2016-06-30 21:16:49 +02:00
# Template file for 'slstatus'
pkgname=slstatus
version=1.0
revision=1
build_style=gnu-makefile
short_desc="Suckless status monitor for dwm"
maintainer="Dom H. <dom@hxy.io>"
license="GPL-3"
homepage="https://git.nulltime.net/${pkgname}"
distfiles="https://git.nulltime.net/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
makedepends="alsa-lib-devel libX11-devel"
checksum=6b3510d6bc96b39a45cb2e2e02240ed7bc23eecb9b2fe79850dfe9f3b9ffff73
pre_build() {
cp ${FILESDIR}/config.h config.h
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk
}
post_install() {
vlicense LICENSE
}