summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-06 17:35:52 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-09 01:34:34 -0600
commitcc5d995be5e23f9d0bce7928ca5b72b0b4005ef8 (patch)
tree9bc4a11cd38dbf0aec820e97070fc7ee8500d885
parent3a0b374275da075d6ec71761f7e86eb980031049 (diff)
downloadslackbuilds-cc5d995be5e23f9d0bce7928ca5b72b0b4005ef8.tar.gz
perl/perl-Sub-Uplevel: Updated for version 0.24.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild15
-rw-r--r--perl/perl-Sub-Uplevel/perl-Sub-Uplevel.info6
2 files changed, 10 insertions, 11 deletions
diff --git a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild
index 956895836c..ccaed37bb3 100644
--- a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild
+++ b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild
@@ -25,7 +25,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Sub-Uplevel
-VERSION=0.22
+VERSION=${VERSION:-0.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ fi
set -e
-DOCS="Changes INSTALL LICENSE README"
+DOCS="Changes LICENSE README"
rm -rf $TMP/$SRCNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -68,12 +68,11 @@ cd $TMP
tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $TMP/$SRCNAM-$VERSION
chown -R root.root .
-find . \
- \( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \
- -exec chmod 644 {} \;
-find . \
- \( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \
- -exec chmod 755 {} \;
+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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor
make
diff --git a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.info b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.info
index 63fd81b283..aed7e27c88 100644
--- a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.info
+++ b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Sub-Uplevel"
-VERSION="0.22"
+VERSION="0.24"
HOMEPAGE="http://search.cpan.org/dist/Sub-Uplevel/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-0.22.tar.gz"
-MD5SUM="c166738a97c0424a0075ebe205d285db"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-0.24.tar.gz"
+MD5SUM="bea4037e8b2a0df563e25e6e44cb2e73"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""