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>
This commit is contained in:
Willy Sudiarto Raharjo 2013-11-06 22:20:06 +07:00 committed by Robby Workman
parent dbc91420c1
commit 3afc8cdc97
2 changed files with 17 additions and 16 deletions

View file

@ -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 {} \;
\( -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 \
INSTALLDIRS=vendor \
INSTALLVENDORMAN1DIR=/usr/man/man1 \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
make test
make install DESTDIR=$PKG
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

View file

@ -1,8 +1,8 @@
PRGNAM="perl-Test-Requires"
VERSION="0.06"
VERSION="0.07"
HOMEPAGE="http://search.cpan.org/~tokuhirom/Test-Requires/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-0.06.tar.gz"
MD5SUM="6ce0da3cceadb6420d4c3c5bb69f64db"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-0.07.tar.gz"
MD5SUM="20bdd194fd0cf59eb0cc9349a68dbaa6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""