void-packages/srcpkgs/frankenwm/template

28 lines
850 B
Bash
Raw Normal View History

# Template file for 'frankenwm'
pkgname=frankenwm
_pkgname=FrankenWM
2016-03-07 09:35:19 +01:00
version=1.0.21
2015-10-02 23:28:18 +02:00
revision=1
wrksrc="${_pkgname}-${version}"
hostmakedepends="pkg-config"
2016-02-14 16:51:56 +01:00
makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel xcb-util-keysyms-devel libX11-devel"
build_style=gnu-makefile
short_desc="XCB dynamic tiling WM"
maintainer='Juan RP <xtraeme@voidlinux.eu>'
license="MIT"
homepage="https://github.com/sulami/${_pkgname}"
2015-07-16 19:25:58 +02:00
distfiles="https://github.com/sulami/${_pkgname}/archive/v${version}.tar.gz"
2016-03-07 09:35:19 +01:00
checksum=9fa4a3ff02fd7b225e378e1f5160c362b48528b52e462c91f25015ab98162df9
replaces="frankenwm-git>=0"
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
}