aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-09 13:46:45 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:26 +0700
commit3ee2864de88f3eb4b2c5374d0503a938d0ec5509 (patch)
tree15917ef4d49236248bbd63183556c6fdd20677ea /system
parentc4f77085d45d8b3b6be559cd9f828d3acafed1e3 (diff)
system/man-pages-fr: Clean up package.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/man-pages-fr/man-pages-fr.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/system/man-pages-fr/man-pages-fr.SlackBuild b/system/man-pages-fr/man-pages-fr.SlackBuild
index 4b804afeaf551..ccfeaa74b156d 100644
--- a/system/man-pages-fr/man-pages-fr.SlackBuild
+++ b/system/man-pages-fr/man-pages-fr.SlackBuild
@@ -24,6 +24,10 @@
# Now maintained by B. Watson <urchlay@slackware.uk>
+# 20230109 bkw: BUILD=4
+# - get rid of empty /usr/doc/man-pages-fr/ dir.
+# - remove a couple of *English* man pages (how'd those get there?)
+
# 20210828 bkw: BUILD=3.
# - Make UTF8=yes the default (works better with man-db).
@@ -38,7 +42,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=man-pages-fr
VERSION=${VERSION:-3.03.0}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -113,11 +117,15 @@ make
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/doc/$PRGNAM/* $PKG/usr/doc/$XTRANAM-$XTRAVER $PKG/usr/doc/$PRGNAM-$VERSION
+rmdir $PKG/usr/doc/$PRGNAM
# These two are included in Slackware.
rm $PKG/usr/man/fr/man5/passwd.5.gz
rm $PKG/usr/man/fr/man3/getspnam.3.gz
+# 20230109 bkw: These aren't even in French.
+rm -f $PKG/usr/man/fr/man8/ld-linux.*
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install