aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-07 18:39:40 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:19 +0700
commit5cc20820cd44766a06be20c12d5c8bf95832aec9 (patch)
tree73a5e07b845f070ce248a887ef16909fce059c9d /games
parenta774af18c661e43a3b5043cb913c901a1fa2d427 (diff)
games/pom1: Fix icon, use https URL.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/pom1/pom1.SlackBuild12
-rw-r--r--games/pom1/pom1.info2
2 files changed, 7 insertions, 7 deletions
diff --git a/games/pom1/pom1.SlackBuild b/games/pom1/pom1.SlackBuild
index 48495e299c179..bc8567ef440b6 100644
--- a/games/pom1/pom1.SlackBuild
+++ b/games/pom1/pom1.SlackBuild
@@ -7,6 +7,8 @@
# 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
diff --git a/games/pom1/pom1.info b/games/pom1/pom1.info
index 074f7d0cd23c5..7cb45628aebf7 100644
--- a/games/pom1/pom1.info
+++ b/games/pom1/pom1.info
@@ -1,6 +1,6 @@
PRGNAM="pom1"
VERSION="1.0.0"
-HOMEPAGE="http://pom1.sourceforge.net/"
+HOMEPAGE="https://pom1.sourceforge.net/"
DOWNLOAD="https://downloads.sourceforge.net/project/pom1/pom1/1.0.0/pom1-1.0.0.tar.gz"
MD5SUM="fbea72f26ab9f1771e8171021406b194"
DOWNLOAD_x86_64=""