void-packages/srcpkgs/dwmblocks-custom/template

22 lines
574 B
Bash

# Template file for 'dwmblocks-custom'
pkgname=dwmblocks-custom
version=2024.10.1
revision=1
makedepends="xcb-util-devel pkg-config"
short_desc="Customized dwmblocks"
maintainer="Luca Bilke <luca@bil.ke>"
license="MIT"
homepage="https://git.snaile.de/snailed/dwmblocks-custom"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=ad52424e8a4a2f2b46558d7a18d95184f7ed9dd8ca4430871c8572371adca4aa
do_build() {
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
make CC=$CC
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install
vlicense LICENSE
}