aboutsummaryrefslogtreecommitdiff
path: root/games/koules
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-20 00:29:01 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-29 17:07:19 +0700
commit10ad4368bd16e95d82b95f7a1050da3f74fb5c46 (patch)
tree6896d1055ce6e192849bd405662b528f0459436f /games/koules
parentf5430c90eeb9eb5bd7500e8e8642866aa4e76090 (diff)
games/koules: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/koules')
-rw-r--r--games/koules/README4
-rw-r--r--games/koules/koules.SlackBuild16
-rw-r--r--games/koules/koules.info4
-rw-r--r--games/koules/slack-desc13
4 files changed, 18 insertions, 19 deletions
diff --git a/games/koules/README b/games/koules/README
index 2a4c5b8046963..f6919fd57a351 100644
--- a/games/koules/README
+++ b/games/koules/README
@@ -1,8 +1,10 @@
+koules (fast action arcade-style game)
+
Koules is a fast action arcade-style game for UNIX and OS/2. This
version supports X window system, SVGAlib for Linux and OS/2. It
works in fine (up to 900x620) resolution with cool 256 color graphics,
multiplayer mode up to 5 players, full sound and, of course, network
-support. Koules is an original idea. First version of Koules was
+support. Koules is an original idea. First version of Koules was
developed from scratch by Jan Hubicka in July 1995.
Yes, koules used to packaged on disk y1 of Slackware 3.3. It needed
diff --git a/games/koules/koules.SlackBuild b/games/koules/koules.SlackBuild
index 82350e46c52a8..bad144a18bea9 100644
--- a/games/koules/koules.SlackBuild
+++ b/games/koules/koules.SlackBuild
@@ -10,11 +10,13 @@
# This script doesn't share any code with whatever build script
# existed back then (partly because I couldn't find a copy)
+# 20211020 bkw: BUILD=3, fix -current build.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=koules
VERSION=${VERSION:-1.4}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -26,9 +28,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -67,11 +66,8 @@ rm -rf $PRGNAM$VERSION
tar xvf $CWD/$PRGNAM$VERSION-src.tar.gz
cd $PRGNAM$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# 20140502 bkw: modern Slackware has OSS modules disabled by default,
# so wrap the sound server in aoss.
@@ -107,7 +103,7 @@ xmkmf -a
# Did I mention I hate Imake?
find . -name Makefile | \
- xargs sed -i -e "s/-O2.*/$SLKCFLAGS/"
+ xargs sed -i -e "s/-O2.*/$SLKCFLAGS -fcommon/"
touch xkoules.man
# 20140502 bkw:
diff --git a/games/koules/koules.info b/games/koules/koules.info
index d111215020d17..cbd2e2613158f 100644
--- a/games/koules/koules.info
+++ b/games/koules/koules.info
@@ -1,7 +1,7 @@
PRGNAM="koules"
VERSION="1.4"
-HOMEPAGE="http://www.ucw.cz/~hubicka/koules/English/koules.html"
-DOWNLOAD="http://www.ucw.cz/~hubicka/koules/packages/koules1.4-src.tar.gz"
+HOMEPAGE="https://www.ucw.cz/~hubicka/koules/English/koules.html"
+DOWNLOAD="https://www.ucw.cz/~hubicka/koules/packages/koules1.4-src.tar.gz"
MD5SUM="0a5ac9e57c8b72e9fc200bc98273235c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/games/koules/slack-desc b/games/koules/slack-desc
index e9ddafe0266ce..0873f9c9b3dd3 100644
--- a/games/koules/slack-desc
+++ b/games/koules/slack-desc
@@ -8,12 +8,13 @@
|-----handy-ruler------------------------------------------------------|
koules: koules (fast action arcade-style game)
koules:
-koules: Koules is a fast action arcade-style game for UNIX and OS/2. This
-koules: version supports X window system, SVGAlib for Linux and OS/2. It
-koules: works in fine (up to 900x620) resolution with cool 256 color graphics,
-koules: multiplayer mode up to 5 players, full sound and, of course, network
-koules: support. Koules is an original idea. First version of Koules was
-koules: developed from scratch by Jan Hubicka in July 1995.
+koules: Koules is a fast action arcade-style game for UNIX and
+koules: OS/2. This version supports X window system, SVGAlib for
+koules: Linux and OS/2. It works in fine (up to 900x620) resolution
+koules: with cool 256 color graphics, multiplayer mode up to 5
+koules: players, full sound and, of course, network support. Koules is
+koules: an original idea. First version of Koules was developed from
+koules: scratch by Jan Hubicka in July 1995.
koules:
koules:
koules: