summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-27 22:05:15 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:38 -0500
commit60ddb9241d4da3a0ada835a78fc621ef39cb6c90 (patch)
tree50b31d8d4c2e58a7b3a385e2b98a322b6e9a29fb /desktop
parentc99dae128b1f8b99b568bbf3afcc46cb1fa20b1f (diff)
downloadslackbuilds-60ddb9241d4da3a0ada835a78fc621ef39cb6c90.tar.gz
desktop/avant-window-navigator: Fixed (Handle doinst.sh and schemas)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop')
-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 30cbeddb75..9f47efc703 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 1f8ff67ded..8a4691e67c 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