New package: wmutils-opt

Closes: #6431 [via git-merge-pr]
This commit is contained in:
Anachron 2017-05-18 17:05:28 +02:00 committed by Michael Gehring
parent 402601064f
commit 84986bd3e9
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# 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
}