void-packages/srcpkgs/mcwm/template

32 lines
908 B
Plaintext
Raw Normal View History

2013-06-23 17:20:22 +02:00
# Template file for 'mcwm'
pkgname=mcwm
_distver=20130209
_patchver=2
wrksrc=${pkgname}-${_distver}-${_patchver}
version=${_distver}.${_patchver}
2014-09-20 10:49:39 +02:00
revision=5
2013-06-23 17:20:22 +02:00
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="Ypnose <linuxienATlegtuxDOTorg>"
license="ISC"
homepage="http://hack.org/mc/projects/mcwm/"
distfiles="http://hack.org/mc/hacks/$pkgname/$pkgname-${_distver}-${_patchver}.tar.bz2"
2013-06-23 17:20:22 +02:00
checksum=2d2f9ced77bc6f90cb9fbdbf790eed97f3be28caefb0de496ac28813aed606be
do_build() {
cp ${FILESDIR}/config.h config.h
2013-06-23 17:20:22 +02:00
sed -i 's/man\/man1/share\/man\/man1/g' Makefile
2013-06-23 19:16:15 +02:00
make CC=$CC ${makejobs}
2013-06-23 17:20:22 +02:00
}
do_install() {
vmkdir usr/bin
vmkdir usr/share/man/man1
make PREFIX=${DESTDIR}/usr install
2014-09-20 10:49:39 +02:00
vbin scripts/9icon
vbin scripts/mcicon
vbin scripts/mcmenu
vlicense LICENSE
2013-06-23 17:20:22 +02:00
}