diff options
author | Willy Sudiarto Raharjo <willysr@slackware-id.org> | 2013-11-06 22:20:06 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-09 01:34:38 -0600 |
commit | 3afc8cdc9758a1db91979b76cece587aa1001bb8 (patch) | |
tree | 5e9818a420c29eea8e43796f06625ff531ee34a0 /perl/perl-Test-Requires/perl-Test-Requires.SlackBuild | |
parent | dbc91420c132480bb2332e1d70db25f7d17f29bb (diff) |
perl/perl-Test-Requires: Updated for version 0.07.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-Test-Requires/perl-Test-Requires.SlackBuild')
-rw-r--r-- | perl/perl-Test-Requires/perl-Test-Requires.SlackBuild | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild b/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild index 1c90575479cdf..c753616c66144 100644 --- a/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild +++ b/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild @@ -26,7 +26,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-Test-Requires -VERSION=${VERSION:-0.06} +VERSION=${VERSION:-0.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,20 +68,21 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 {} \; - -perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN1DIR=/usr/man/man1 \ - INSTALLVENDORMAN3DIR=/usr/man/man3 -make -make test -make install DESTDIR=$PKG + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +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 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -95,7 +96,7 @@ find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - README \ + Changes LICENSE MANIFEST \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |