31 lines
815 B
Bash
31 lines
815 B
Bash
# Template file for 'monsterwm-git'
|
|
pkgname=monsterwm-git
|
|
version=20140803
|
|
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
|
|
sed -i 's|^CFLAGS =|CFLAGS +=|g' Makefile
|
|
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vinstall LICENSE 644 usr/share/licenses/monsterwm
|
|
}
|