summaryrefslogtreecommitdiff
path: root/perl/perl-Sub-Uplevel
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Sub-Uplevel')
-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=""