diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2012-05-20 17:11:11 -0400 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-05-21 17:58:14 -0500 |
commit | 9565092f07d2b08bf7e61143744badaed064bbfc (patch) | |
tree | 24161870999923c85eca7119e7a9d60d2db12482 /perl | |
parent | 54a6d66fbe3d941642fe4bf7586e4c9febbdcc5c (diff) |
perl/perl-xml-twig: Updated for version 3.39.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r-- | perl/perl-xml-twig/perl-xml-twig.SlackBuild | 27 | ||||
-rw-r--r-- | perl/perl-xml-twig/perl-xml-twig.info | 6 | ||||
-rw-r--r-- | perl/perl-xml-twig/slack-desc | 2 |
3 files changed, 11 insertions, 24 deletions
diff --git a/perl/perl-xml-twig/perl-xml-twig.SlackBuild b/perl/perl-xml-twig/perl-xml-twig.SlackBuild index a6b0936e4c922..d52dcb8f7757a 100644 --- a/perl/perl-xml-twig/perl-xml-twig.SlackBuild +++ b/perl/perl-xml-twig/perl-xml-twig.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-xml-twig -# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2008-2012 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,18 +23,16 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-xml-twig -VERSION=3.38 +VERSION=3.39 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCNAM=XML-Twig -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -60,26 +58,15 @@ perl Makefile.PL -y INSTALLDIRS=vendor make make install DESTDIR=$PKG -#Move man-pages to appropriate place mv $PKG/usr/share/man $PKG/usr/ +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 -# Remove perlocal.pod and .packlist from $PKG -( for i in perllocal.pod .packlist; do - find $PKG -name "$i" -exec rm -rf {} \; - done -) - -# Remove empty directories -find $PKG -depth -type d -empty -exec rm -rf {} \; - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -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 || true +find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes 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-twig/perl-xml-twig.info b/perl/perl-xml-twig/perl-xml-twig.info index 4ee72697f4136..a314ac91f6bb8 100644 --- a/perl/perl-xml-twig/perl-xml-twig.info +++ b/perl/perl-xml-twig/perl-xml-twig.info @@ -1,8 +1,8 @@ PRGNAM="perl-xml-twig" -VERSION="3.38" +VERSION="3.39" HOMEPAGE="http://xmltwig.com/xmltwig/" -DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/XML-Twig-3.38.tar.gz" -MD5SUM="b47f211cca776eb65e55e2c4b51e41ee" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/XML-Twig-3.39.tar.gz" +MD5SUM="c3f42ee3f09fe7b0601172ddb15bfe53" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Heinz Wiesinger" diff --git a/perl/perl-xml-twig/slack-desc b/perl/perl-xml-twig/slack-desc index 36a85080412cf..f22cce346ef0c 100644 --- a/perl/perl-xml-twig/slack-desc +++ b/perl/perl-xml-twig/slack-desc @@ -5,7 +5,7 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler------------------------------------------------| + |-----handy-ruler------------------------------------------------------| perl-xml-twig: perl-xml-twig (Perl XML transformation module) perl-xml-twig: perl-xml-twig: XML::Twig is (yet another!) XML transformation module. |