void-packages/srcpkgs/slstatus/template
2016-08-21 13:15:42 +02:00

22 lines
610 B
Bash

# Template file for 'slstatus'
pkgname=slstatus
version=1.1
revision=1
build_style=gnu-makefile
short_desc="Suckless status monitor for dwm"
maintainer="Dom H. <dom@hxy.io>"
license="ISC"
homepage="https://git.nulltime.net/slstatus"
distfiles="${homepage}/snapshot/${pkgname}-${version}.tar.gz"
makedepends="alsa-lib-devel libX11-devel"
checksum=77c42876571c7b1d850325e8d09a37ca9264031e4e6237195480d718a9a584f6
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
}