diff options
-rw-r--r-- | graphics/fyre/doinst.sh | 6 | ||||
-rw-r--r-- | graphics/fyre/fyre.SlackBuild | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/graphics/fyre/doinst.sh b/graphics/fyre/doinst.sh index 5fb28930db0b..65c7e2eeb9aa 100644 --- a/graphics/fyre/doinst.sh +++ b/graphics/fyre/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/graphics/fyre/fyre.SlackBuild b/graphics/fyre/fyre.SlackBuild index 191165001bce..48087c69a2e5 100644 --- a/graphics/fyre/fyre.SlackBuild +++ b/graphics/fyre/fyre.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for fyre -# Copyright 2013-2021 Petar Petrov slackalaxy@gmail.com +# Copyright 2013-2023 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=fyre VERSION=${VERSION:-1.0.1} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -97,12 +97,16 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# no association with *.fa files, pls +rm -rf $PKG/usr/share/mime +rm -rf $PKG/usr/share/icons/hicolor/48x48 + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS ChangeLog COPYING INSTALL README TODO \ + AUTHORS ChangeLog COPYING README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |