2013-06-29 12:08:08 +00:00
|
|
|
# Template file for 'mcwm-git'
|
|
|
|
pkgname=mcwm-git
|
2014-03-17 11:24:58 +00:00
|
|
|
version=20140317
|
2013-07-19 07:23:09 +00:00
|
|
|
revision=1
|
2013-06-29 12:08:08 +00:00
|
|
|
build_style=gnu-makefile
|
2014-07-27 14:05:16 +00:00
|
|
|
hostmakedepends="git"
|
2013-06-29 12:08:08 +00:00
|
|
|
makedepends="libxcb-devel xcb-proto xcb-util-devel xcb-util-keysyms-devel xcb-util-wm-devel"
|
2014-03-17 11:24:58 +00:00
|
|
|
provides="mcwm-${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
replaces="mcwm>=0"
|
2013-06-29 12:08:08 +00:00
|
|
|
short_desc="A minimalist stacking X window manager based on XCB"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="ISC"
|
|
|
|
homepage="http://hack.org/mc/projects/mcwm/"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://hack.org/mcwm"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
2013-07-02 19:40:27 +00:00
|
|
|
cp ${FILESDIR}/config.h config.h
|
2013-06-29 12:08:08 +00:00
|
|
|
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
|
2013-07-02 19:40:27 +00:00
|
|
|
vinstall scripts/9icon 755 usr/bin
|
|
|
|
vinstall scripts/mcicon 755 usr/bin
|
|
|
|
vinstall scripts/mcmenu 755 usr/bin
|
2013-06-29 12:08:08 +00:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|