27 lines
850 B
Bash
27 lines
850 B
Bash
# Template file for 'frankenwm'
|
|
pkgname=frankenwm
|
|
_pkgname=FrankenWM
|
|
version=1.0.12
|
|
revision=1
|
|
wrksrc="${_pkgname}-${version}"
|
|
hostmakedepends="pkg-config"
|
|
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}"
|
|
distfiles="https://github.com/sulami/${_pkgname}/archive/v${version}.tar.gz"
|
|
checksum=6f3efe7b755bf964c82e95317e33c7a6ef4a757385053b90720dffce8d436a33
|
|
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
|
|
}
|