1 # Maintainer: Erufu / Sébastien Lacroix <erufu.sennin@gmail.com>
2 # Maintainer: Bartek Piotrowski <barthalion@gmail.com>
3 # Contributor: AddiKT1ve <the.addikt1ve@gmail.com>
4 # Contributor: Erus <erus.iluvatar@gmail.com>
9 pkgdesc="A lightweight and highly configurable tiling window manager for X"
10 arch=('i686' 'x86_64')
11 url="http://www.wmfs.info/"
13 depends=('libxft' 'imlib2' 'libxinerama' 'libxrandr')
16 conflicts=('wmfs' 'wmfs2-git')
18 _gitroot="git://git.wmfs.info/wmfs.git"
23 msg "Connecting to GIT server..."
25 if [ -d ${_gitname} ]; then
26 cd ${_gitname} && git pull origin
27 msg "The local files are updated."
29 git clone -b wmfs1 ${_gitroot} ${_gitname}
31 msg "GIT checkout done or server timeout."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
37 ./configure --prefix /usr \
38 --xdg-config-dir /etc/xdg \
39 --man-prefix /usr/share/man
44 cd ${srcdir}/${_gitname}-build
46 make DESTDIR=${pkgdir} install
47 install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING