25 lines
612 B
Bash
25 lines
612 B
Bash
# Template file for 'wmutils-core'
|
|
pkgname=wmutils-core
|
|
version=1.2
|
|
revision=1
|
|
wrksrc="${pkgname##*-}-${version}"
|
|
build_style=gnu-makefile
|
|
makedepends="libxcb-devel"
|
|
short_desc="Set of window manipulation tools"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="ISC"
|
|
homepage="https://github.com/wmutils/core"
|
|
distfiles="https://github.com/${pkgname%-*}/core/archive/v${version}.tar.gz"
|
|
checksum=b86348f2dbf0e518c2cc8c3c079d71b2542f041dc3c99ea5ac7be1368498b984
|
|
|
|
LDFLAGS="-lxcb"
|
|
|
|
pre_build() {
|
|
sed -i 's,/man,/share/man,' config.mk
|
|
sed -i 's|@$(LD)|@$(CC)|g' Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|