From 8224d8f7d069c5fb751ded090c7fc5361317bda7 Mon Sep 17 00:00:00 2001 From: dsomero Date: Sat, 29 Sep 2012 19:43:18 -0400 Subject: libraries/libpeas: Fixed (Handle icon files) Signed-off-by: dsomero --- libraries/libpeas/doinst.sh | 5 +++++ libraries/libpeas/libpeas.SlackBuild | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 libraries/libpeas/doinst.sh 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} -- cgit v1.2.3