summaryrefslogtreecommitdiff
path: root/perl/perl6-Readline/perl6-Readline.SlackBuild
diff options
context:
space:
mode:
authorAndreas Voegele <andreas@andreasvoegele.com>2018-07-22 11:39:04 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-28 08:51:45 +0700
commit058260cc9e02e4c780f40d603ffbac1beb3cf60e (patch)
tree75c600b304aa2c5bd7ef333d43ac39d5a160f188 /perl/perl6-Readline/perl6-Readline.SlackBuild
parenta9b8e6a8c2b18b2c45a240a938beb934702f95be (diff)
downloadslackbuilds-058260cc9e02e4c780f40d603ffbac1beb3cf60e.tar.gz
perl/perl6-Readline: Updated for version 0.1.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl6-Readline/perl6-Readline.SlackBuild')
-rw-r--r--perl/perl6-Readline/perl6-Readline.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/perl/perl6-Readline/perl6-Readline.SlackBuild b/perl/perl6-Readline/perl6-Readline.SlackBuild
index fd12dc53c2..0c28d9e85c 100644
--- a/perl/perl6-Readline/perl6-Readline.SlackBuild
+++ b/perl/perl6-Readline/perl6-Readline.SlackBuild
@@ -17,12 +17,11 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
PRGNAM=perl6-Readline
-VERSION=${VERSION:-0.0.2+e2cf431}
+VERSION=${VERSION:-0.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM=perl6-readline
-GITREF=${GITREF:-e2cf431a87c36d420a3f2737b2cbc160efeb9233}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -56,9 +55,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$GITREF
-tar xvf $CWD/$SRCNAM-$GITREF.tar.gz
-cd $SRCNAM-$GITREF
+rm -rf $SRCNAM-$VERSION
+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 \
@@ -66,9 +65,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-if [ "$(readlink /usr/lib${LIBDIRSUFFIX}/libreadline.so)" = "libreadline.so.6" ]; then
- patch -b -p0 < $CWD/ncurses.patch
-fi
+patch -b -p1 < $CWD/ncurses.patch
if [ "${MAKETEST:-no}" = "yes" ]; then
env PERL6LIB=lib prove -e perl6