perl/perl-Readonly: Updated for version 2.00.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
LEVAI Daniel 2014-07-01 18:43:26 +07:00 committed by Willy Sudiarto Raharjo
parent ae43df078d
commit b3c4463717
2 changed files with 7 additions and 9 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for perl-Readonly # Slackware build script for perl-Readonly
# Copyright 2013 LEVAI Daniel <leva@ecentrum.hu> # Copyright 2013-2014 LEVAI Daniel <leva@ecentrum.hu>
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Readonly PRGNAM=perl-Readonly
VERSION=${VERSION:-1.04} VERSION=${VERSION:-2.00}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -55,7 +55,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
perl Build.PL \ perl Build.PL \
prefix=/usr \ prefix=/usr \
@ -75,9 +75,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f
find $PKG -depth -type d -empty -delete || true find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a README.md Changes $PKG/usr/doc/$PRGNAM-$VERSION
README.md Changes \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="perl-Readonly" PRGNAM="perl-Readonly"
VERSION="1.04" VERSION="2.00"
HOMEPAGE="http://search.cpan.org/dist/Readonly/" HOMEPAGE="http://search.cpan.org/dist/Readonly/"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SA/SANKO/Readonly-1.04.tar.gz" DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SA/SANKO/Readonly-2.00.tar.gz"
MD5SUM="875c911ed43d0ecf2c5abed60ee6ae18" MD5SUM="05866426331fd2b8d4feebbba245298d"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""