2013-06-24 13:11:05 +02:00
|
|
|
# Template file for 'monsterwm-git'
|
|
|
|
pkgname=monsterwm-git
|
2013-07-19 09:22:42 +02:00
|
|
|
version=20130719
|
2013-06-24 13:11:05 +02:00
|
|
|
revision=1
|
|
|
|
makedepends="libX11-devel"
|
|
|
|
short_desc="Minimal and lightweight dynamic tiling window manager"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/c00kiemon5ter/monsterwm"
|
|
|
|
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/c00kiemon5ter/monsterwm"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cp ${FILESDIR}/config.h config.h
|
|
|
|
sed -i 's/CFLAGS =/CFLAGS +=/g' Makefile
|
|
|
|
sed -i 's/LDFLAGS =/LDFLAGS +=/g' Makefile
|
|
|
|
make CC=$CC INCS="-I." LIBS="-lX11" ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make PREFIX=/usr DESTDIR=$DESTDIR install
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
monsterwm-git_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|