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.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/system/dse-typewriter-font/dse-typewriter-font.SlackBuild b/system/dse-typewriter-font/dse-typewriter-font.SlackBuild
index b234d45e94..ded51192d8 100644
--- a/system/dse-typewriter-font/dse-typewriter-font.SlackBuild
+++ b/system/dse-typewriter-font/dse-typewriter-font.SlackBuild
@@ -6,11 +6,13 @@
# 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
@@ -30,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
@@ -49,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