#Maintainer: Dimitris Tzemos pkgname=openbox pkgver=3.5.0 pkgrel=2dj source=("http://icculus.org/openbox/releases/openbox-$pkgver.tar.gz" "xinitrc.openbox") docs=("readme" "install" "copying" "changelog" "authors" "news") url=http://icculus.org/openbox option=("noautodotnew") dotnew=("etc/xdg/openbox/rc.xml" "etc/xdg/openbox/menu.xml") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Openbox (A lightweight Window Manager for the X11 window system)" "Openbox is a minimalistic, highly configurable, next generation" "window manager with extensive standards support." ) build() { cd $SRC/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc make -j $numjobs || return 1 make DESTDIR=$PKG install || return 1 mkdir -p $PKG/etc/X11/xinit/ cp $SRC/xinitrc.openbox $PKG/etc/X11/xinit/ || return 1 chmod 755 $PKG/etc/X11/xinit/xinitrc.openbox # fix doc location mkdir -p $PKG/usr/doc/$pkgname-$pkgver mv $PKG/usr/share/doc/$pkgname/* $PKG/usr/doc/$pkgname-$pkgver/ || return 1 rm -r $PKG/usr/share/doc/ }