summaryrefslogtreecommitdiff
path: root/perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild')
-rw-r--r--perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild b/perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild
index 7552d7e4d0..6fb043826b 100644
--- a/perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild
+++ b/perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Tree-Simple
-VERSION=1.18
+VERSION=${VERSION:-1.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,14 +65,14 @@ rm -Rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -Rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tgz
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 \
INSTALL_BASE="" \