2 # Maintainer: Alfonso Saavedra "Son Link" sonlink.dourden@gmail.com
4 pkgname=fluxbox-lua-git
7 pkgdesc="A lightweight and highly-configurable window manager. Branch with LUA script support"
9 url="http://www.fluxbox.org"
11 depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'sh' 'imlib2' 'fribidi')
12 conflicts=('fluxbox' 'fluxbox-fbcompose-git')
13 makedepends=('pkg-config' 'git')
14 optdepends=('xorg-xmessage: for using the fbsetbg and fluxbox-generate_menu utilities')
15 options=('!makeflags')
16 source=(fluxbox-lua.desktop)
17 md5sums=('382de6c8f37b3f81000a44e1dd0db435')
19 _gitroot="git://git.fluxbox.org/fluxbox_pavel.git"
20 _gitname="fluxbox-lua"
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
28 git clone $_gitroot $_gitname
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
33 cd "$srcdir/$_gitname"
35 ./configure --prefix=/usr \
36 --enable-gnome --enable-xft --enable-xinerama \
37 --enable-imlib2 --enable-nls
42 cd "${srcdir}/${_gitname}"
43 make DESTDIR="${pkgdir}" install
44 install -D -m644 ../fluxbox-lua.desktop "${pkgdir}/usr/share/xsessions/fluxbox-lua.desktop"
45 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"