void-packages/srcpkgs/lemonbar/template

23 lines
613 B
Bash

# Template file for 'lemonbar'
pkgname=lemonbar
version=1.4
revision=1
wrksrc="bar-${version}"
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=7bfd36d7a4a950f61ed0d32c7d219678e7787a546d9ef4bc33f02393d60e4939
pre_build() {
vsed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
vsed -i 's/^\(LDFLAGS *+=\)/override \1/' Makefile
}
post_install() {
vlicense LICENSE
}