26 lines
833 B
Bash
26 lines
833 B
Bash
# Template file for 'frankenwm'
|
|
pkgname=frankenwm
|
|
version=1.0.23
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel xcb-util-keysyms-devel libX11-devel"
|
|
short_desc="XCB dynamic tiling WM"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/sulami/FrankenWM"
|
|
distfiles="https://github.com/sulami/FrankenWM/archive/v${version}.tar.gz"
|
|
checksum=64f63f8fcd824d892087b62f9459a2eba7d3dc29ae39a4558315297b32afdf6a
|
|
|
|
pre_build() {
|
|
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
|
|
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
|
|
}
|