aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorChristopher Walker <jisa0224@gmail.com>2019-01-25 20:30:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-01-25 20:30:42 +0700
commit82a2dbe1aae68a0f0d9a7308e36229f3ebe8278f (patch)
tree78d53941c41c05d38b9a084d3ed44070ac39c292 /perl
parentb9c1f1a629588106bcf515949a11a266c3037517 (diff)
perl/perl-Net-XMPP: Updated for version 1.05.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-Net-XMPP/README6
-rw-r--r--perl/perl-Net-XMPP/perl-Net-XMPP.SlackBuild18
-rw-r--r--perl/perl-Net-XMPP/perl-Net-XMPP.info6
-rw-r--r--perl/perl-Net-XMPP/slack-desc2
4 files changed, 16 insertions, 16 deletions
diff --git a/perl/perl-Net-XMPP/README b/perl/perl-Net-XMPP/README
index 0dc8fa121b3f..7a03198fb134 100644
--- a/perl/perl-Net-XMPP/README
+++ b/perl/perl-Net-XMPP/README
@@ -1,4 +1,4 @@
-Net::XMPP - XMPP Perl Library
+Net::XMPP - XMPP Perl Library.
-Net::XMPP provides a Perl user with access to the Extensible Messaging and
-Presence Protocol (XMPP).
+Net::XMPP provides a Perl user with access to the Extensible Messaging
+and Presence Protocol (XMPP).
diff --git a/perl/perl-Net-XMPP/perl-Net-XMPP.SlackBuild b/perl/perl-Net-XMPP/perl-Net-XMPP.SlackBuild
index de93a00927cb..d52f822f0c46 100644
--- a/perl/perl-Net-XMPP/perl-Net-XMPP.SlackBuild
+++ b/perl/perl-Net-XMPP/perl-Net-XMPP.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for perl-Net-XMPP
# Copyright 2013 Christopher Walker Copperas Cove, TX
+# Copyright 2019, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +24,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Net-XMPP
-VERSION=${VERSION:-1.02}
+VERSION=${VERSION:-1.05}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -45,9 +48,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf Net-XMPP-$VERSION
-tar xvf $CWD/Net-XMPP-$VERSION.tar.gz
-cd Net-XMPP-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -60,7 +63,6 @@ perl Makefile.PL \
INSTALLDIRS=vendor \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
-make test
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -74,9 +76,7 @@ find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs r
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGES LICENSE.LGPL README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/perl/perl-Net-XMPP/perl-Net-XMPP.info b/perl/perl-Net-XMPP/perl-Net-XMPP.info
index 285e2a911b58..3bb34207ae16 100644
--- a/perl/perl-Net-XMPP/perl-Net-XMPP.info
+++ b/perl/perl-Net-XMPP/perl-Net-XMPP.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Net-XMPP"
-VERSION="1.02"
+VERSION="1.05"
HOMEPAGE="https://metacpan.org/pod/Net::XMPP"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HACKER/Net-XMPP-1.02.tar.gz"
-MD5SUM="67cf40d3bbbe6740c21c856c79692fde"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAPATRICK/Net-XMPP-1.05.tar.gz"
+MD5SUM="6fdfeecde1b7eea1a24413e6557a97e2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-XML-Stream perl-Module-Build"
diff --git a/perl/perl-Net-XMPP/slack-desc b/perl/perl-Net-XMPP/slack-desc
index 507882922f39..9d07269757d2 100644
--- a/perl/perl-Net-XMPP/slack-desc
+++ b/perl/perl-Net-XMPP/slack-desc
@@ -11,7 +11,7 @@ perl-Net-XMPP:
perl-Net-XMPP: Net::XMPP provides a Perl user with access to the Extensible
perl-Net-XMPP: Messaging and Presence Protocol (XMPP).
perl-Net-XMPP:
-perl-Net-XMPP: Homepage: https://metacpan.org/release/HACKER/Net-XMPP-1.02
+perl-Net-XMPP: Homepage: https://metacpan.org/pod/Net::XMPP
perl-Net-XMPP:
perl-Net-XMPP:
perl-Net-XMPP: