void-packages/srcpkgs/monsterwm-git/template

29 lines
723 B
Plaintext

# Template file for 'monsterwm-git'
pkgname=monsterwm-git
version=20140531
revision=1
hostmakedepends="git"
makedepends="libX11-devel"
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS=-lX11"
short_desc="Minimal and lightweight dynamic tiling window manager"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="https://github.com/c00kiemon5ter/monsterwm"
provides="monsterwm-${version}_${revision}"
replaces="monsterwm>=0"
do_fetch() {
local url="git://github.com/c00kiemon5ter/monsterwm"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() {
cp ${FILESDIR}/config.h config.h
}
post_install() {
vinstall LICENSE 644 usr/share/licenses/$pkgname
}