diff options
-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} |