aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/perl-XML-Stream/README2
-rw-r--r--perl/perl-XML-Stream/perl-XML-Stream.SlackBuild30
-rw-r--r--perl/perl-XML-Stream/perl-XML-Stream.info6
-rw-r--r--perl/perl-XML-Stream/slack-desc2
4 files changed, 19 insertions, 21 deletions
diff --git a/perl/perl-XML-Stream/README b/perl/perl-XML-Stream/README
index decfa74e00f9..c0e6b1ccc4e4 100644
--- a/perl/perl-XML-Stream/README
+++ b/perl/perl-XML-Stream/README
@@ -1,3 +1,3 @@
-XML::Stream - Creates an XMl Stream connection and parses return data
+XML::Stream - Creates an XML Stream connection and parses return data.
XML::Stream is an attempt at solidifying the use of XML via streaming.
diff --git a/perl/perl-XML-Stream/perl-XML-Stream.SlackBuild b/perl/perl-XML-Stream/perl-XML-Stream.SlackBuild
index 66880b36e830..771b876b1d4c 100644
--- a/perl/perl-XML-Stream/perl-XML-Stream.SlackBuild
+++ b/perl/perl-XML-Stream/perl-XML-Stream.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for perl-XML-Stream
# 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-XML-Stream
-VERSION=${VERSION:-1.23}
+VERSION=${VERSION:-1.24}
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,15 +48,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf XML-Stream-$VERSION
-tar xvf $CWD/XML-Stream-$VERSION.tar.gz
-cd XML-Stream-$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 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
perl Makefile.PL \
PREFIX=/usr \
@@ -66,15 +69,10 @@ make install DESTDIR=$PKG
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
-find $PKG -name "perllocal.pod" \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGES INFO LICENSE.LGPL README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES INFO 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-XML-Stream/perl-XML-Stream.info b/perl/perl-XML-Stream/perl-XML-Stream.info
index fc72dfbcfb1b..71ba6d345a17 100644
--- a/perl/perl-XML-Stream/perl-XML-Stream.info
+++ b/perl/perl-XML-Stream/perl-XML-Stream.info
@@ -1,8 +1,8 @@
PRGNAM="perl-XML-Stream"
-VERSION="1.23"
+VERSION="1.24"
HOMEPAGE="https://metacpan.org/pod/XML::Stream"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAPATRICK/XML-Stream-1.23.tar.gz"
-MD5SUM="1c0908384fe57a1c3c529071a8b882af"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAPATRICK/XML-Stream-1.24.tar.gz"
+MD5SUM="62717494479cba3746bfeab73d2f955c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Authen-SASL"
diff --git a/perl/perl-XML-Stream/slack-desc b/perl/perl-XML-Stream/slack-desc
index 3c7ee2408f4f..075ab2973ca0 100644
--- a/perl/perl-XML-Stream/slack-desc
+++ b/perl/perl-XML-Stream/slack-desc
@@ -10,7 +10,7 @@ perl-XML-Stream: perl-XML-Stream (Creates an XML Stream connection)
perl-XML-Stream:
perl-XML-Stream: XML::Stream is an attempt at solidifying the use of XML via streaming.
perl-XML-Stream:
-perl-XML-Stream: Homepage: https://metacpan.org/release/DAPATRICK/XML-Stream-1.23
+perl-XML-Stream: Homepage: https://metacpan.org/pod/XML::Stream
perl-XML-Stream:
perl-XML-Stream:
perl-XML-Stream: