void-packages/srcpkgs/lemonbar/template

25 lines
636 B
Bash
Raw Normal View History

# Template file for 'lemonbar'
pkgname=lemonbar
version=1.1
2015-06-12 21:20:16 +02:00
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="Ypnose <linuxienATlegtuxDOTorg>"
homepage="https://github.com/LemonBoy/bar"
license="MIT"
distfiles="https://github.com/LemonBoy/bar/archive/v${version}.tar.gz"
checksum=567955575a09a7231cae7f2003e0fd66f4c86d7acbe1f53f407233730c8f2c9c
2015-06-12 21:20:16 +02:00
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
sed -i 's/^\(LDFLAGS *+=\)/override \1/' Makefile
}
post_install() {
vlicense LICENSE
}