25 lines
732 B
Bash
25 lines
732 B
Bash
# Template file for 'slstatus'
|
|
pkgname=slstatus
|
|
version=20180708
|
|
revision=1
|
|
_commit=dd7f1896aa9883f33b4d28cd192e8088db0cab5a
|
|
wrksrc="${pkgname}-${_commit}"
|
|
build_style=gnu-makefile
|
|
short_desc="Suckless status monitor for dwm"
|
|
maintainer="Dom H. <dom@hxy.io>"
|
|
license="ISC"
|
|
homepage="https://tools.suckless.org/slstatus/"
|
|
distfiles="https://github.com/drkhsh/slstatus/archive/${_commit}.tar.gz"
|
|
makedepends="alsa-lib-devel libX11-devel"
|
|
checksum=2602a7210decb265b55f1802d4baea652d782ef6c1c8d2f58a7d79bbd2d93d84
|
|
|
|
pre_build() {
|
|
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
|
|
sed -i -e 's|^CFLAGS *=|override CFLAGS +=|g' \
|
|
-e 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|