aboutsummaryrefslogtreecommitdiff
path: root/desktop/avant-window-navigator
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/avant-window-navigator')
-rw-r--r--desktop/avant-window-navigator/avant-window-navigator.SlackBuild3
-rw-r--r--desktop/avant-window-navigator/doinst.sh10
2 files changed, 12 insertions, 1 deletions
diff --git a/desktop/avant-window-navigator/avant-window-navigator.SlackBuild b/desktop/avant-window-navigator/avant-window-navigator.SlackBuild
index 30cbeddb75ecf..9f47efc70368a 100644
--- a/desktop/avant-window-navigator/avant-window-navigator.SlackBuild
+++ b/desktop/avant-window-navigator/avant-window-navigator.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=avant-window-navigator
VERSION=0.4.0
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -114,6 +114,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/desktop/avant-window-navigator/doinst.sh b/desktop/avant-window-navigator/doinst.sh
index 1f8ff67dedb29..8a4691e67c028 100644
--- a/desktop/avant-window-navigator/doinst.sh
+++ b/desktop/avant-window-navigator/doinst.sh
@@ -1,3 +1,11 @@
+schema_install() {
+ SCHEMA="$1"
+ GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
+ chroot . gconftool-2 --makefile-install-rule \
+ /etc/gconf/schemas/$SCHEMA \
+ 1>/dev/null
+}
+
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
@@ -8,3 +16,5 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
fi
fi
+schema_install avant-window-navigator.schemas
+schema_install awn-applet-taskmanager.schemas