37 lines
842 B
Text
37 lines
842 B
Text
|
# Template file for 'monsterwm-git'
|
||
|
pkgname=monsterwm-git
|
||
|
version="$(date +%Y%m%d)"
|
||
|
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
|
||
|
}
|
||
|
}
|