void-packages/srcpkgs/monsterwm-git/template

35 lines
807 B
Plaintext
Raw Normal View History

2013-06-24 13:11:05 +02:00
# Template file for 'monsterwm-git'
pkgname=monsterwm-git
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
}
}