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/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild | |
parent | ee6b5d82803cc0aa3e4fcf295fa63a5e650a44c7 (diff) |
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/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild')
-rw-r--r-- | perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild | 32 |
1 files changed, 12 insertions, 20 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 a9ecf08456f07..cde53f582d4f4 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 |