24 lines
720 B
Bash
24 lines
720 B
Bash
# Template file for 'slstatus'
|
|
pkgname=slstatus
|
|
version=20180106
|
|
revision=1
|
|
_commit=8bfe4b2e280e4d4b9762d3a93c4ec94c2fc9d754
|
|
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://git.suckless.org/slstatus/snapshot/${pkgname}-${_commit}.tar.gz"
|
|
makedepends="alsa-lib-devel libX11-devel"
|
|
checksum=d6f9d4decd227200eeffb55ac184ee5eeb23443e12a74a1fd00d98a584c060dc
|
|
|
|
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
|
|
}
|