void-packages/srcpkgs/lemonbar/template

22 lines
613 B
Bash

# Template file for 'lemonbar'
pkgname=lemonbar
version=1.3
revision=1
wrksrc="bar-${version}"
build_style=gnu-makefile
hostmakedepends="perl"
makedepends="libxcb-devel"
short_desc="A lightweight xcb based bar"
maintainer='Juan RP <xtraeme@voidlinux.org>'
homepage="https://github.com/LemonBoy/bar"
license="MIT"
distfiles="https://github.com/LemonBoy/bar/archive/v${version}.tar.gz"
checksum=eae784c5e375b2d0b12138be1a9902beb4b5eeb807f3512f30f14ba23ddaa37d
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
sed -i 's/^\(LDFLAGS *+=\)/override \1/' Makefile
}
post_install() {
vlicense LICENSE
}