2013-06-23 15:20:22 +00:00
|
|
|
# Template file for 'mcwm'
|
|
|
|
pkgname=mcwm
|
2013-06-24 08:58:48 +00:00
|
|
|
_distver=20130209
|
|
|
|
_patchver=2
|
|
|
|
wrksrc=${pkgname}-${_distver}-${_patchver}
|
|
|
|
version=${_distver}.${_patchver}
|
2014-05-31 11:16:35 +00:00
|
|
|
revision=4
|
2013-06-23 15:20:22 +00: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/"
|
2013-06-24 08:58:48 +00:00
|
|
|
distfiles="http://hack.org/mc/hacks/$pkgname/$pkgname-${_distver}-${_patchver}.tar.bz2"
|
2013-06-23 15:20:22 +00:00
|
|
|
checksum=2d2f9ced77bc6f90cb9fbdbf790eed97f3be28caefb0de496ac28813aed606be
|
2014-05-31 11:16:35 +00:00
|
|
|
replaces="mcwm>=0"
|
2013-06-23 15:20:22 +00:00
|
|
|
|
|
|
|
do_build() {
|
2013-07-02 19:40:08 +00:00
|
|
|
cp ${FILESDIR}/config.h config.h
|
2013-06-23 15:20:22 +00:00
|
|
|
sed -i 's/man\/man1/share\/man\/man1/g' Makefile
|
2013-06-23 17:16:15 +00:00
|
|
|
make CC=$CC ${makejobs}
|
2013-06-23 15:20:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2013-06-24 08:58:48 +00:00
|
|
|
vmkdir usr/bin
|
|
|
|
vmkdir usr/share/man/man1
|
|
|
|
make PREFIX=${DESTDIR}/usr install
|
2013-07-02 19:40:08 +00:00
|
|
|
vinstall scripts/9icon 755 usr/bin
|
|
|
|
vinstall scripts/mcicon 755 usr/bin
|
|
|
|
vinstall scripts/mcmenu 755 usr/bin
|
2013-06-23 15:20:22 +00:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|