diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-29 19:43:18 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-30 20:01:03 -0500 |
commit | 8224d8f7d069c5fb751ded090c7fc5361317bda7 (patch) | |
tree | 9915b3df91e05fed39e6b7e41882f26f44b343cf | |
parent | 1a95f18e55ed9b53db0cc3feb4eb7051c0130286 (diff) | |
download | slackbuilds-8224d8f7d069c5fb751ded090c7fc5361317bda7.tar.gz |
libraries/libpeas: Fixed (Handle icon files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | libraries/libpeas/doinst.sh | 5 | ||||
-rw-r--r-- | libraries/libpeas/libpeas.SlackBuild | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libraries/libpeas/doinst.sh b/libraries/libpeas/doinst.sh new file mode 100644 index 0000000000..8542d1c18e --- /dev/null +++ b/libraries/libpeas/doinst.sh @@ -0,0 +1,5 @@ +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/libraries/libpeas/libpeas.SlackBuild b/libraries/libpeas/libpeas.SlackBuild index 339e081408..14bc36c29a 100644 --- a/libraries/libpeas/libpeas.SlackBuild +++ b/libraries/libpeas/libpeas.SlackBuild @@ -23,7 +23,7 @@ PRGNAM=libpeas VERSION=${VERSION:-20120923_90823c2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -95,6 +95,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 $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |