aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild')
-rw-r--r--perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild b/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild
index 32abcfb390e29..d16d8b0e4da13 100644
--- a/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild
+++ b/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for perl-Glib-Object-Introspection.
#
-# Copyright 2017-2023 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2017-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -35,8 +35,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=perl-Glib-Object-Introspection
-VERSION=${VERSION:-0.049}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.051}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -48,9 +48,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
@@ -102,7 +99,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# 20230507 bkw: need this for 0.050 but not 0.049:
-# mv $PKG/usr/share/man/man1 $PKG/usr/man; rm -rf $PKG/usr/share
+mv $PKG/usr/share/man/man1 $PKG/usr/man; rm -rf $PKG/usr/share
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done