games/pom1: Fix icon, use https URL.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-07 18:39:40 -05:00 committed by Willy Sudiarto Raharjo
parent a774af18c6
commit 5cc20820cd
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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=""