# Unofficial pkgbuild script for Openbox upstream releases, based on the # pkgbuild script by Sarah Hay # # Rename this file to "PKGBUILD" to use it in the Arch build system pkgname=openbox pkgver=3.4.2 pkgrel=1 pkgdesc="A window manager for the X11 windowing system" arch=(i686 x86_64) depends=('startup-notification' 'libxml2' 'libxinerama' 'libxrandr' 'libxft' 'pango' 'libxcursor') url="http://icculus.org/openbox" options=('NOLIBTOOL') backup=('/etc/xdg/openbox/menu.xml' '/etc/xdg/openbox/rc.xml') source=(http://www.icculus.org/openbox/releases/${pkgname}-${pkgver}.tar.gz) md5sums=('d5d52fa23fe91e1e3b53858a20d12757') build() { cd ${startdir}/src/${pkgname}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc make || return 1 make DESTDIR=${startdir}/pkg install }