summaryrefslogtreecommitdiffstats
path: root/abs/core/fluxbox/PKGBUILD
blob: 9d09c6309752c168fa3e5c90efba2ebc6ff7bc18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $Id: PKGBUILD 1350 2008-05-05 22:19:58Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor:  John Proctor <jproctor@prium.net>

pkgname=fluxbox
pkgver=1.0.0
pkgrel=1
pkgdesc="A lightweight and highly-configurable window manager"
arch=('i686' 'x86_64')
url="http://www.fluxbox.org"
license=('MIT')
depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'bash' 'imlib2')
makedepends=('pkgconfig')
options=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 \
        $pkgname.desktop fluxbox-1.0.0-gcc43.patch)
md5sums=('990e276ead0d04421dce4080f485caca' 'eeae9c88a2526ac0bd8afcd9ce97f9ed'\
         '9ddb3fcd5f080574a44f394282132b3c')
sha1sums=('7985e35fbb170fda24b9e04610690cd04c7a8748'
          'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8'
          '51de3957bacfc4848529ba7df80bddca59b1a20b')

build() {
  cd $startdir/src/$pkgname-${pkgver}
  patch -p1 < ../fluxbox-1.0.0-gcc43.patch || return 1
  ./configure --prefix=/usr \
   --enable-kde --enable-gnome \
   --enable-xft --enable-xinerama \
   --enable-imlib2 --enable-nls
  make || return 1
  make DESTDIR=$startdir/pkg install
 # this is a fix to allow fluxbox to shutdown, but this can be changed by the user :-(
  sed -i 's|^.*slit\.autoHide.*$|session.screen0.slit.autoHide:  True|' \
    $startdir/pkg/usr/share/fluxbox/init
  install -D -m644 ../$pkgname.desktop \
    $startdir/pkg/etc/X11/sessions/$pkgname.desktop
  install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
}