29 lines
902 B
Bash
29 lines
902 B
Bash
# Template file for 'mcwm'
|
|
pkgname=mcwm
|
|
version=20130209.2
|
|
revision=7
|
|
wrksrc="${pkgname}-${version//./-}"
|
|
build_style=gnu-makefile
|
|
makedepends="libxcb-devel xcb-proto xcb-util-devel xcb-util-keysyms-devel xcb-util-wm-devel"
|
|
short_desc="A minimalist stacking X window manager based on XCB"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="ISC"
|
|
homepage="http://hack.org/mc/projects/mcwm/"
|
|
distfiles="http://hack.org/mc/hacks/${pkgname}/${pkgname}-${version//./-}.tar.bz2"
|
|
checksum=2d2f9ced77bc6f90cb9fbdbf790eed97f3be28caefb0de496ac28813aed606be
|
|
conflicts="2bwm>=0"
|
|
|
|
do_build() {
|
|
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
|
|
sed -i 's/man\/man1/share\/man\/man1/g' Makefile
|
|
make CC=$CC ${makejobs}
|
|
}
|
|
do_install() {
|
|
vmkdir usr/bin
|
|
vmkdir usr/share/man/man1
|
|
make PREFIX=${DESTDIR}/usr install
|
|
vbin scripts/9icon
|
|
vbin scripts/mcicon
|
|
vbin scripts/mcmenu
|
|
vlicense LICENSE
|
|
}
|