void-packages/srcpkgs/monsterwm-git/template
2013-07-19 09:22:42 +02:00

36 lines
833 B
Text

# Template file for 'monsterwm-git'
pkgname=monsterwm-git
version=20130719
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"
nofetch=yes
noextract=yes
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
}
}