lemonbar: update to 1.4.

Also fix xlint.

Closes: #27609 [via git-merge-pr]
This commit is contained in:
rev1e 2021-01-01 22:13:27 +01:00 committed by Érico Rolim
parent cc548a81ca
commit 4f0546de26

View file

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