void-packages/srcpkgs/wmutils-opt/template
Anachron 84986bd3e9 New package: wmutils-opt
Closes: #6431 [via git-merge-pr]
2017-07-01 09:21:24 +00:00

24 lines
562 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="Anachron <Anachron14@gmx.de>"
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
}