1 #Maintained by ivoarch <ivayloarch@gmail.com>
5 pkgdesc="Very minimal, lightweight, monsterous, tiny, dynamic tiling window manager"
6 url="https://github.com/c00kiemon5ter/monsterwm"
14 _gitroot="git://github.com/c00kiemon5ter/monsterwm.git"
21 msg "Connecting to GIT server..."
23 if [ -d ${_gitname} ]; then
24 cd ${_gitname} && git pull origin master
26 msg "The local files are updated."
28 git clone ${_gitroot} ${_gitname}
31 msg "GIT checkout done or server timeout"
33 msg "Removing old build directory..."
34 rm -Rf ${srcdir}/${_gitname}-build
35 msg "Creating build directory..."
36 cp -R ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
38 msg "Starting make..."
39 msg "If you want to configure monsterwm, copy config.def.h to ${startdir}/config.h and edit it"
43 [[ -e ${startdir}/config.h ]] && msg "Using your config.h" && cp ${startdir}/config.h .
45 make PREFIX=/usr DESTDIR="${pkgdir}" install