void-packages/srcpkgs/lemonbar/template

25 lines
635 B
Bash

# Template file for 'lemonbar'
pkgname=lemonbar
version=1.1
revision=2
wrksrc="bar-${version}"
build_style=gnu-makefile
hostmakedepends="perl"
makedepends="libxcb-devel"
replaces="bar-git>=0"
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=567955575a09a7231cae7f2003e0fd66f4c86d7acbe1f53f407233730c8f2c9c
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
sed -i 's/^\(LDFLAGS *+=\)/override \1/' Makefile
}
post_install() {
vlicense LICENSE
}