void-packages/srcpkgs/frankenwm/template

29 lines
866 B
Bash
Raw Normal View History

# Template file for 'frankenwm'
pkgname=frankenwm
_pkgname=FrankenWM
2015-07-16 17:24:16 +00:00
version=1.0.4
2015-07-16 17:25:58 +00:00
revision=2
hostmakedepends="pkg-config"
makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel xcb-util-keysyms-devel"
build_style=gnu-makefile
make_build_args="INCS=-I."
short_desc="XCB dynamic tiling WM"
maintainer="Ypnose <ypnoseATvoidlinuxDOTeu>"
license="MIT"
homepage="https://github.com/sulami/${_pkgname}"
2015-07-16 17:25:58 +00:00
distfiles="https://github.com/sulami/${_pkgname}/archive/v${version}.tar.gz"
2015-07-16 17:24:16 +00:00
checksum="cdf0c91df489d71209e484b7a2eb109f539c54e875afe7421733bf4320ae7167"
replaces="frankenwm-git>=0"
wrksrc="${_pkgname}-${version}"
pre_build() {
sed -i 's|^CPPFLAGS *+=|override CPPFLAGS +=|g' Makefile
sed -i 's|^CFLAGS *+=|override CFLAGS +=|g' Makefile
sed -i 's|^LDFLAGS *+=|override LDFLAGS +=|g' Makefile
sed -i 's| -Os||g' Makefile
}
post_install() {
vlicense LICENSE
}