void-packages/srcpkgs/lemonbar/template

23 lines
612 B
Bash

# Template file for 'lemonbar'
pkgname=lemonbar
version=1.2
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.eu>'
homepage="https://github.com/LemonBoy/bar"
license="MIT"
distfiles="https://github.com/LemonBoy/bar/archive/v${version}.tar.gz"
checksum=b846d8451f9065cdcb94f48a8bd80c074cf1073da0664a94597681912045bfea
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
sed -i 's/^\(LDFLAGS *+=\)/override \1/' Makefile
}
post_install() {
vlicense LICENSE
}