diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-04-21 19:01:35 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-04-23 07:52:11 +0700 |
commit | 7d6f70d1c505b6cd599e942eb8a17c70edac8db6 (patch) | |
tree | eeb052b9c32aadff110b8c78f3ddbd6fb864337b /perl | |
parent | ee6b5d82803cc0aa3e4fcf295fa63a5e650a44c7 (diff) | |
download | slackbuilds-7d6f70d1c505b6cd599e942eb8a17c70edac8db6.tar.gz |
perl/perl-Class-Method-Modifiers: Updated for version 2.10.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r-- | perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild | 32 | ||||
-rw-r--r-- | perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.info | 8 |
2 files changed, 16 insertions, 24 deletions
diff --git a/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild b/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild index a9ecf08456..cde53f582d 100644 --- a/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild +++ b/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-Class-Method-Modifiers -# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackware-id.org> +# Copyright 2013-2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-Class-Method-Modifiers -VERSION=${VERSION:-2.09} +VERSION=${VERSION:-2.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -66,24 +66,18 @@ 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 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_MM_USE_DEFAULT=1 \ -PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR=$PKG" \ -PERL_MB_OPT="--installdirs vendor --destdir $PKG" \ -MODULEBUILDRC=/dev/null \ -perl Build.PL \ - prefix=/usr \ - installdirs=vendor \ - destdir=$PKG -./Build -./Build test -./Build install \ - --install_path bindoc=/usr/man/man1 \ - --install_path libdoc=/usr/man/man3 +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -96,9 +90,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - Changes INSTALL LICENSE README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes INSTALL 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-Class-Method-Modifiers/perl-Class-Method-Modifiers.info b/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.info index 21e75cf33a..76dcd03e9e 100644 --- a/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.info +++ b/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.info @@ -1,8 +1,8 @@ PRGNAM="perl-Class-Method-Modifiers" -VERSION="2.09" -HOMEPAGE="http://search.cpan.org/~ether/Class-Method-Modifiers-2.09/" -DOWNLOAD="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Method-Modifiers-2.09.tar.gz" -MD5SUM="5adc748acd8670b71ceaf73d48446dcf" +VERSION="2.10" +HOMEPAGE="http://search.cpan.org/~ether/Class-Method-Modifiers-2.10/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Method-Modifiers-2.10.tar.gz" +MD5SUM="bd56ab860d1a24e6d9c7e87e36e2b09c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Module-Build-Tiny perl-Test-Fatal" |