summaryrefslogtreecommitdiffstats
path: root/system/dse-typewriter-font/dse-typewriter-font.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/dse-typewriter-font/dse-typewriter-font.SlackBuild')
-rw-r--r--system/dse-typewriter-font/dse-typewriter-font.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/system/dse-typewriter-font/dse-typewriter-font.SlackBuild b/system/dse-typewriter-font/dse-typewriter-font.SlackBuild
index b535b5e782..ded51192d8 100644
--- a/system/dse-typewriter-font/dse-typewriter-font.SlackBuild
+++ b/system/dse-typewriter-font/dse-typewriter-font.SlackBuild
@@ -2,22 +2,21 @@
# Slackware build script for dse-typewriter-font
-# 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.
+# 20230307 bkw: BUILD=2, add douninst.sh.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dse-typewriter-font
-VERSION=${VERSION:-20200507_1795eb8}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.1.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-# 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
@@ -33,7 +32,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
# upstream permissions are bad
@@ -52,6 +51,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cp $PKG/install/doinst.sh $PKG/install/douninst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE