aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2023-09-09 08:38:16 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-09 10:14:12 +0700
commitb11de5fce9495213dc5da33f639f43a02816e60b (patch)
tree780e8e6a25f36a18b203c829961088f8744ab35c
parent3c5a12cc7a72e22e138690b76afd743d53eb5d9a (diff)
graphics/fyre: Updated for version 1.0.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/fyre/doinst.sh6
-rw-r--r--graphics/fyre/fyre.SlackBuild10
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