1 # Contributor: Travis <tesjo1@gmail.com>
3 # $Id: PKGBUILD,v 1.18 2007/10/30 02:50:24 eric Exp $
4 # Maintainer: Eric Belanger <eric@archlinux.org>
5 # Contributor: John Proctor <jproctor@prium.net>
7 pkgname=fluxbox-rootmenu
10 pkgdesc="Fluxbox as in extra but with support for rootmenu in toolbar."
11 arch=('i686' 'x86_64')
12 url="http://www.fluxbox.org"
14 depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'bash' 'imlib2')
15 makedepends=('pkgconfig')
18 source=(http://downloads.sourceforge.net/sourceforge/fluxbox/fluxbox-$pkgver.tar.bz2 \
20 ToolFactory.rootmenu.patch)
21 md5sums=('990e276ead0d04421dce4080f485caca' 'eeae9c88a2526ac0bd8afcd9ce97f9ed' 'e88eae641499eb0969d76e8bdf9f4efb')
22 sha1sums=('7985e35fbb170fda24b9e04610690cd04c7a8748' 'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8' '534b589bfb97d7154a80cbe85cf100679eea630c')
25 cd $startdir/src/fluxbox-${pkgver}
26 # add rootmenu support for toolbar
27 patch -Np0 -i $startdir/ToolFactory.rootmenu.patch || return 1
28 ./configure --prefix=/usr \
29 --enable-kde --enable-gnome \
30 --enable-xft --enable-xinerama \
31 --enable-imlib2 --enable-nls
33 make DESTDIR=$startdir/pkg install
34 # this is a fix to allow fluxbox to shutdown, but this can be changed by the user :-(
35 sed -i 's|^.*slit\.autoHide.*$|session.screen0.slit.autoHide: True|' \
36 $startdir/pkg/usr/share/fluxbox/init
37 install -D -m644 ../fluxbox.desktop \
38 $startdir/pkg/etc/X11/sessions/fluxbox.desktop
39 install -D -m644 COPYING $startdir/pkg/usr/share/licenses/fluxbox/COPYING