aboutsummaryrefslogtreecommitdiff
path: root/graphics/xzgv/xzgv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xzgv/xzgv.SlackBuild')
-rw-r--r--graphics/xzgv/xzgv.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/graphics/xzgv/xzgv.SlackBuild b/graphics/xzgv/xzgv.SlackBuild
index f8807be470a58..3f7bad7a4c53f 100644
--- a/graphics/xzgv/xzgv.SlackBuild
+++ b/graphics/xzgv/xzgv.SlackBuild
@@ -7,6 +7,8 @@
# Original author: Markus Reichelt.
# Now maintained by B. Watson <urchlay@slackware.uk>.
+# 20230308 bkw: BUILD=2, add doinunst.sh to clean up GNU info index.
+
# 20230102 bkw: v0.9.2_2
# - take over maintenance.
# - relicense as WTFPL.
@@ -20,7 +22,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xzgv
VERSION=${VERSION:-0.9.2_2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -115,15 +117,15 @@ for i in debian/$PRGNAM-*.png; do
install -m0644 -oroot -groot $i $dir/$PRGNAM.png
done
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS ChangeLog COPYING NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS ChangeLog COPYING NEWS README TODO $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/douninst.sh > $PKG/install/douninst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE