29 lines
916 B
Bash
29 lines
916 B
Bash
# Template file for 'frankenwm'
|
|
pkgname=frankenwm
|
|
_pkgname=FrankenWM
|
|
version=1.0.21
|
|
revision=1
|
|
wrksrc="${_pkgname}-${version}"
|
|
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/${_pkgname}"
|
|
distfiles="https://github.com/sulami/${_pkgname}/archive/v${version}.tar.gz"
|
|
checksum=9fa4a3ff02fd7b225e378e1f5160c362b48528b52e462c91f25015ab98162df9
|
|
replaces="frankenwm-git>=0"
|
|
|
|
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
|
|
}
|