void-packages/srcpkgs/monsterwm-git/template

31 lines
815 B
Plaintext
Raw Normal View History

2013-06-24 13:11:05 +02:00
# Template file for 'monsterwm-git'
pkgname=monsterwm-git
2014-08-03 14:29:05 +02:00
version=20140803
2013-06-24 13:11:05 +02:00
revision=1
hostmakedepends="git"
2013-06-24 13:11:05 +02:00
makedepends="libX11-devel"
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS=-lX11"
2013-06-24 13:11:05 +02:00
short_desc="Minimal and lightweight dynamic tiling window manager"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="https://github.com/c00kiemon5ter/monsterwm"
2014-05-31 13:19:02 +02:00
provides="monsterwm-${version}_${revision}"
replaces="monsterwm>=0"
2013-06-24 13:11:05 +02:00
do_fetch() {
local url="git://github.com/c00kiemon5ter/monsterwm"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() {
2013-06-24 13:11:05 +02:00
cp ${FILESDIR}/config.h config.h
2014-08-03 14:29:05 +02:00
sed -i 's|^CFLAGS =|CFLAGS +=|g' Makefile
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' Makefile
2013-06-24 13:11:05 +02:00
}
post_install() {
2014-08-03 14:29:05 +02:00
vinstall LICENSE 644 usr/share/licenses/monsterwm
2013-06-24 13:11:05 +02:00
}