void-packages/srcpkgs/lemonbar/template
rev1e 4f0546de26 lemonbar: update to 1.4.
Also fix xlint.

Closes: #27609 [via git-merge-pr]
2021-01-29 00:58:40 -03:00

22 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
}