void-packages/srcpkgs/wmutils-opt/template

25 lines
565 B
Bash

# Template file for 'wmutils-opt'
pkgname=wmutils-opt
version=1.0
revision=1
wrksrc="${pkgname##*-}-${version}"
build_style=gnu-makefile
makedepends="libxcb-devel"
short_desc="Optional addons to wmutils"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://github.com/wmutils/opt"
distfiles="https://github.com/${pkgname%-*}/opt/archive/v${version}.tar.gz"
checksum=f30bb409bdcfa6720015dbca5356e04d4359cca3800a39948822152a94bcd055
LDFLAGS="-lxcb"
pre_build() {
sed -i 's|@$(LD)|@$(CC)|g' Makefile
}
post_install() {
vlicense LICENSE
}