summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Arn0 <yth@ythogtha.org>2023-03-03 09:03:21 +0100
committer bedlam <dave@slackbuilds.org>2023-03-04 05:42:19 +0000
commit027ab674926a23e5b7e24c169f9a0cc5a348db11 (patch)
tree4b08b13c54d07c5c68600333e7a439bd0962cb3d
parent42204574bea23682f3cfb7af269fc20706a081c9 (diff)
downloadslackbuilds-027ab674926a23e5b7e24c169f9a0cc5a348db11.tar.gz
slackbuilds-027ab674926a23e5b7e24c169f9a0cc5a348db11.tar.xz
games/gargoyle: Updated for version 2023.1.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/gargoyle/doinst.sh10
-rw-r--r--games/gargoyle/gargoyle.SlackBuild6
-rw-r--r--games/gargoyle/gargoyle.info6
3 files changed, 18 insertions, 4 deletions
diff --git a/games/gargoyle/doinst.sh b/games/gargoyle/doinst.sh
index 595fdd454b..34ca31c416 100644
--- a/games/gargoyle/doinst.sh
+++ b/games/gargoyle/doinst.sh
@@ -16,3 +16,13 @@ config etc/garglk.ini.new
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
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/games/gargoyle/gargoyle.SlackBuild b/games/gargoyle/gargoyle.SlackBuild
index d57156ab00..9d3a57962e 100644
--- a/games/gargoyle/gargoyle.SlackBuild
+++ b/games/gargoyle/gargoyle.SlackBuild
@@ -7,7 +7,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gargoyle
-VERSION=${VERSION:-2022.1}
+VERSION=${VERSION:-2023.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -75,6 +75,10 @@ cd ..
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
+mv $PKG/usr/share/man $PKG/usr/man
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/games
mv $PKG/usr/bin/gargoyle $PKG/usr/games/gargoyle
diff --git a/games/gargoyle/gargoyle.info b/games/gargoyle/gargoyle.info
index 57e915cbf8..dd0215207d 100644
--- a/games/gargoyle/gargoyle.info
+++ b/games/gargoyle/gargoyle.info
@@ -1,8 +1,8 @@
PRGNAM="gargoyle"
-VERSION="2022.1"
+VERSION="2023.1"
HOMEPAGE="http://ccxvii.net/gargoyle/"
-DOWNLOAD="https://github.com/garglk/garglk/archive/2022.1/garglk-2022.1.tar.gz"
-MD5SUM="3db9498f95df5085b43f4c9a81531163"
+DOWNLOAD="https://github.com/garglk/garglk/archive/2023.1/garglk-2023.1.tar.gz"
+MD5SUM="8ded81038e47abe7e21a6d70f6466171"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""