diff options
Diffstat (limited to 'perl/perl-LWP-Protocol-https')
-rw-r--r-- | perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.SlackBuild | 24 | ||||
-rw-r--r-- | perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.info | 8 |
2 files changed, 21 insertions, 11 deletions
diff --git a/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.SlackBuild b/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.SlackBuild index f515287f96..e16a3766c7 100644 --- a/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.SlackBuild +++ b/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-LWP-Protocol-https -# Copyright 2013,2019 Chris Walker Kempner, TX +# Copyright 2013,2019,2021 Chris Walker Kempner, TX # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,22 +22,32 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-LWP-Protocol-https -VERSION=${VERSION:-6.07} +VERSION=${VERSION:-6.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=LWP-Protocol-https if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; 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} @@ -77,7 +87,7 @@ find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - Changes README \ + Changes Install LICENSE \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -85,4 +95,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-LWP-Protocol-https/perl-LWP-Protocol-https.info b/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.info index edddd2eae2..b7c052e801 100644 --- a/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.info +++ b/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.info @@ -1,10 +1,10 @@ PRGNAM="perl-LWP-Protocol-https" -VERSION="6.07" +VERSION="6.10" HOMEPAGE="https://metacpan.org/pod/LWP::Protocol::https" -DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.07.tar.gz" -MD5SUM="b8943dfb7d187af63c36fc18ab15947d" +DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.10.tar.gz" +MD5SUM="cf64e4bc57a9266ac4343cdf0808c5c8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libwww-perl perl-Mozilla-CA perl-IO-Socket-SSL perl-Test-RequiresInternet" +REQUIRES="libwww-perl perl-Mozilla-CA perl-Test-RequiresInternet" MAINTAINER="Chris Walker" EMAIL="kris240376@gmail.com" |