Package: openbox
Architecture: i386
-Depends: libc6 (>= 2.5), libglib2.0-0, libxcursor, libx11-6, libpango1.0-0, libice6, libsm6, libxext6, libxinerama1, libxml2, libstartup-notification0, libxft2
+Depends: libc6 (>= 2.5), libglib2.0-0, libxcursor1, libx11-6, libpango1.0-0, libice6, libsm6, libxext6, libxinerama1, libxml2, libstartup-notification0, libxft2
Recommends: obconf, x-display-manager, ksmserver | gnome-session, ttf-bitstream-vera
Suggests: menu
Conflicts: menu (<< 2.1.12)
-#!/bin/sh -x
+#!/bin/sh
# get the version from configure.ac
VERSION=$(grep AC_INIT\(\\\[openbox\\] configure.ac|cut -d [ -f 3-|cut -d ] -f 1)
+echo "Building deb for openbox-$VERSION"
+
TIME="$(date '+%a, %d %B %Y %T %z')"
IN=debian/changelog.in
OUT=debian/changelog
# make sure configure gets run with the right parameters
-make distclean || rm -f config.status
+make distclean >/dev/null || rm -f config.status
rm -f $OUT
sed -e "s!@time@!$TIME!" -e "s!@version@!$VERSION!" $IN >$OUT && \
-fakeroot debian/rules binary
+fakeroot debian/rules binary && \
+make distclean >/dev/null