summaryrefslogtreecommitdiffstats
path: root/games/pom1/pom1.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/pom1/pom1.SlackBuild')
-rw-r--r--games/pom1/pom1.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/pom1/pom1.SlackBuild b/games/pom1/pom1.SlackBuild
index 7fe6c77e40..bc8567ef44 100644
--- a/games/pom1/pom1.SlackBuild
+++ b/games/pom1/pom1.SlackBuild
@@ -2,11 +2,13 @@
# Slackware build script for pom1
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/
# for details.
+# 20230107 bkw: BUILD=3, fix icons (derp).
+
# 20211027 bkw: BUILD=2
# - new-style icons.
# - binary in /usr/games.
@@ -18,7 +20,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pom1
VERSION=${VERSION:-1.0.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -93,6 +95,9 @@ rm -rf $PKG/usr/share/icons
mkdir -p $PKG/usr/share/games
mv $PKG/usr/share/$PRGNAM $PKG/usr/share/games/$PRGNAM
+# Icon created by Creative Nerds, downloaded from:
+# http://www.iconarchive.com/show/wooden-social-icons-by-creativenerds/apple-icon.html
+
for px in 16 32 48 64 128; do
size=${px}x${px}
dir=$PKG/usr/share/icons/hicolor/$size/apps
@@ -112,11 +117,6 @@ rm -rf $PKG/usr/share/doc
mkdir -p $PKG/usr/man/man6
gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz
-# Icon created by Creative Nerds, downloaded from:
-# http://www.iconarchive.com/show/wooden-social-icons-by-creativenerds/apple-icon.html
-mkdir -p $PKG/usr/share/pixmaps
-cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
-
mv $PKG/usr/games/$PRGNAM-$VERSION $PKG/usr/games/$PRGNAM
cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION