summaryrefslogtreecommitdiff
path: root/perl/perl-Astro-SunTime
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-20 18:14:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-20 18:14:19 +0700
commite0762f8db40ea46ff9c5c47f7db4989fd71ee63b (patch)
tree08cba896a59f18176264f137d847b0b2e222a8a3 /perl/perl-Astro-SunTime
parent51588e2b6d30ab667f2bbb60801ef3fd84f6b63b (diff)
downloadslackbuilds-e0762f8db40ea46ff9c5c47f7db4989fd71ee63b.tar.gz
perl/perl-Astro-SunTime: Updated for version 0.06.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Astro-SunTime')
-rw-r--r--perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild14
-rw-r--r--perl/perl-Astro-SunTime/perl-Astro-SunTime.info6
2 files changed, 9 insertions, 11 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
diff --git a/perl/perl-Astro-SunTime/perl-Astro-SunTime.info b/perl/perl-Astro-SunTime/perl-Astro-SunTime.info
index da17ef3ce0..defdfa675b 100644
--- a/perl/perl-Astro-SunTime/perl-Astro-SunTime.info
+++ b/perl/perl-Astro-SunTime/perl-Astro-SunTime.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Astro-SunTime"
-VERSION="0.01"
+VERSION="0.06"
HOMEPAGE="https://metacpan.org/pod/Astro::SunTime"
-DOWNLOAD="http://www.cpan.org/authors/id/R/RO/ROBF/Astro-SunTime-0.01.tar.gz"
-MD5SUM="4657927a49604494bfaaa153663b90b9"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RO/ROBF/Astro-SunTime-0.06.tar.gz"
+MD5SUM="42cb8c94de8a111ed652196925c22a45"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Time-modules"