diff --git a/srcpkgs/openbox/template b/srcpkgs/openbox/template index 17534bc3422..9f181604ffc 100644 --- a/srcpkgs/openbox/template +++ b/srcpkgs/openbox/template @@ -1,10 +1,10 @@ # Template file for 'openbox' pkgname=openbox version=3.5.2 -revision=2 +revision=3 build_style=gnu-configure configure_args="--enable-startup-notification" -hostmakedepends="pkg-config" +hostmakedepends="automake libtool pkg-config gettext-devel" makedepends="startup-notification-devel libxml2-devel libXrandr-devel libXcursor-devel>=1.1.14_2 libXinerama-devel libSM-devel imlib2-devel pango-devel" conf_files=" @@ -18,33 +18,6 @@ license="GPL-2" homepage="http://www.openbox.org" distfiles="http://icculus.org/openbox/releases/$pkgname-$version.tar.gz" checksum=128fb4ef11f83f6edb1685cfc04f44a16a5322082fc519f9d7cac84fc658af33 -long_desc=" - Openbox works with your applications, and makes your desktop easier to - manage. This is because the approach to its development was the opposite of - what seems to be the general case for window managers. Openbox was written - first to comply with standards and to work properly. Only when that was in - place did the team turn to the visual interface. - - Openbox is fully functional as a stand-alone working environment, or can be - used as a drop-in replacement for the default window manager in the GNOME - or KDE desktop environments. - - Some of the things to look for in Openbox are: - - * ICCCM and EWMH compliance! - * Very fast - * Chainable key bindings - * Customizable mouse actions - * Window resistance - * Multi-head Xinerama support! - * Pipe menus" - -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" libtool automake gettext-devel" - pre_configure() { - autoreconf -fi - } -fi # Package build options build_options="svg" @@ -57,6 +30,10 @@ else configure_args+=" --disable-librsvg" fi +pre_configure() { + autoreconf -fi +} + post_install() { rm ${DESTDIR}/usr/bin/{gdm-control,gnome-panel-control} @@ -67,7 +44,7 @@ post_install() { } openbox-devel_package() { - depends="libopenbox>=${version}" + depends="libopenbox>=${version}_${revision}" pkg_install() { vmove "usr/lib/*.a" vmove "usr/lib/*.so"