summaryrefslogtreecommitdiff
path: root/system/kegs/kegs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/kegs/kegs.SlackBuild')
-rw-r--r--system/kegs/kegs.SlackBuild19
1 files changed, 11 insertions, 8 deletions
diff --git a/system/kegs/kegs.SlackBuild b/system/kegs/kegs.SlackBuild
index 45e3ebb793..be192e5f14 100644
--- a/system/kegs/kegs.SlackBuild
+++ b/system/kegs/kegs.SlackBuild
@@ -6,6 +6,10 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210825 bkw: update for v1.12.
+# - upstream got rid of to_pro and partls, so their man pages are
+# also gone now.
+
# 20210225 bkw: update for v1.05. lots of changes:
# - include the ROM image in the package (add it to DOWNLOAD)
# - allow_sound_open_fail.diff no longer required
@@ -17,7 +21,7 @@
# 20170305 bkw:
# - fix building under installwatch, caused by a symlink in the
-# tarball being listed before its target Why does this choke
+# tarball being listed before its target. Why does this choke
# under installwatch and not otherwise? Not bumping BUILD for this.
# 20150621 bkw: bump BUILD to 2
@@ -30,7 +34,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kegs
-VERSION=${VERSION:-1.05}
+VERSION=${VERSION:-1.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -43,9 +47,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
@@ -83,7 +84,7 @@ cd $TMP
rm -rf $PRGNAM.$VERSION
tar xvf $CWD/$PRGNAM.$VERSION.tar.gz \
--exclude '*/KEGSMAC.app' \
- --exclude xkegs
+ --exclude '*/xkegs'
cd $PRGNAM.$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
@@ -105,7 +106,7 @@ patch -p1 < $CWD/allow_window_close.diff
cd src
rm -f vars
cat $VARS > vars
-make SLKCFLAGS="$SLKCFLAGS" x$PRGNAM to_pro partls
+make SLKCFLAGS="$SLKCFLAGS" x$PRGNAM
cd -
# No install target, just stick it all where it goes.
@@ -117,7 +118,6 @@ mkdir -p \
$PKG/usr/share/$PRGNAM \
$PKG/usr/man/man1
install -s -m0755 x$PRGNAM $PKG/usr/libexec/
-install -s -m0755 src/to_pro src/partls $PKG/usr/bin/
install -m0755 $CWD/x$PRGNAM.sh $PKG/usr/bin/x$PRGNAM
install -m0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
install -m0644 $CWD/config.$PRGNAM.default $PKG/usr/share/$PRGNAM
@@ -136,6 +136,9 @@ ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
# asimov site for at least 20 years now, Apple has never complained.
unzip -p $CWD/gsrom03.zip > $PKG/usr/share/$PRGNAM/rom03
+# 20210825 bkw: include the bundled disk images in the package.
+cp -a [A-Z]*.gz $PKG/usr/share/$PRGNAM/
+
# Man pages are specific to the SlackBuild, though I've sent
# them upstream for consideration.
for file in $CWD/man/*.1; do