summaryrefslogtreecommitdiffstats
path: root/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild')
-rw-r--r--perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild b/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild
index df48317e2b..d417ae3655 100644
--- a/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild
+++ b/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild
@@ -25,7 +25,7 @@
SRCNAM=Astro-SunTime
PRGNAM=perl-$SRCNAM
-VERSION=${VERSION:-0.01}
+VERSION=${VERSION:-0.06}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,10 +66,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -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 777 -o -perm 775 -o -perm 750 -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 {} \;
perl Makefile.PL \
PREFIX=/usr \
@@ -85,9 +85,7 @@ find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs r
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README Changes \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changes $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install