aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild')
-rw-r--r--perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild
index 956895836c16d..ccaed37bb352d 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