summaryrefslogtreecommitdiffstats
path: root/perl/perl-CPANPLUS
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-CPANPLUS')
-rw-r--r--perl/perl-CPANPLUS/perl-CPANPLUS.SlackBuild18
-rw-r--r--perl/perl-CPANPLUS/perl-CPANPLUS.info12
2 files changed, 20 insertions, 10 deletions
diff --git a/perl/perl-CPANPLUS/perl-CPANPLUS.SlackBuild b/perl/perl-CPANPLUS/perl-CPANPLUS.SlackBuild
index ad80379581..4153c376f0 100644
--- a/perl/perl-CPANPLUS/perl-CPANPLUS.SlackBuild
+++ b/perl/perl-CPANPLUS/perl-CPANPLUS.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for perl-CPANPLUS
@@ -16,10 +16,13 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-CPANPLUS
-VERSION=${VERSION:-0.9906}
+VERSION=${VERSION:-0.9910}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
@@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# 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
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,4 +100,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/perl/perl-CPANPLUS/perl-CPANPLUS.info b/perl/perl-CPANPLUS/perl-CPANPLUS.info
index b945eddaee..08c5a9913c 100644
--- a/perl/perl-CPANPLUS/perl-CPANPLUS.info
+++ b/perl/perl-CPANPLUS/perl-CPANPLUS.info
@@ -1,10 +1,10 @@
PRGNAM="perl-CPANPLUS"
-VERSION="0.9906"
+VERSION="0.9910"
HOMEPAGE="https://metacpan.org/pod/CPANPLUS"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/CPANPLUS-0.9906.tar.gz"
-MD5SUM="058fdaa56b32f0cc1dd3dd134eb226d6"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/CPANPLUS-0.9910.tar.gz"
+MD5SUM="2f80c70ca7464083c22351a401d55f69"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-Archive-Extract perl-DBD-SQLite perl-DBIx-Simple perl-Log-Message perl-Module-Pluggable perl-Object-Accessor perl-Package-Constants perl-Term-ReadLine-Gnu perl-Term-UI"
-MAINTAINER="Andreas Voegele"
-EMAIL="andreas@andreasvoegele.com"
+REQUIRES="perl-Archive-Extract perl-DBD-SQLite perl-DBIx-Simple perl-Module-Pluggable perl-Object-Accessor perl-Package-Constants perl-Term-ReadLine-Gnu perl-Term-UI"
+MAINTAINER="Sergey Poznyakoff"
+EMAIL="gray@gnu.org"