# Template file for 'lemonbar'
pkgname=lemonbar
version=1.5
revision=1
build_style=gnu-makefile
hostmakedepends="perl"
makedepends="libxcb-devel"
short_desc="Lightweight xcb based bar"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/LemonBoy/bar"
distfiles="https://github.com/LemonBoy/bar/archive/v${version}.tar.gz"
checksum=bc8defe0ce6e4c1b16fd6ba3080a08e4502d6cf9d09440186044eae6b2d7460d

pre_build() {
	vsed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
	vsed -i 's/^\(LDFLAGS *+=\)/override \1/' Makefile
}
post_install() {
	vlicense LICENSE
}
