aboutsummaryrefslogtreecommitdiff
path: root/system/nano-syntax-highlighting
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2024-11-04 17:34:13 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-05 00:16:09 +0700
commitc0ef070df99a14c87a694bedaa44e71c0eea6cff (patch)
tree3ca0d41cebd07a122876e25bb9bc5f3ef14b4916 /system/nano-syntax-highlighting
parent54f1b228582c29f9629807d08cb58a98aeafdd97 (diff)
system/nano-syntax-highlighting: Updated for version 2020.10.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nano-syntax-highlighting')
-rw-r--r--system/nano-syntax-highlighting/nano-syntax-highlighting.SlackBuild13
-rw-r--r--system/nano-syntax-highlighting/nano-syntax-highlighting.info6
2 files changed, 9 insertions, 10 deletions
diff --git a/system/nano-syntax-highlighting/nano-syntax-highlighting.SlackBuild b/system/nano-syntax-highlighting/nano-syntax-highlighting.SlackBuild
index e506d93a12..dde77e19e7 100644
--- a/system/nano-syntax-highlighting/nano-syntax-highlighting.SlackBuild
+++ b/system/nano-syntax-highlighting/nano-syntax-highlighting.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for the nano-syntax-highlighting.
#
-# Copyright 2018 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2018-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nano-syntax-highlighting
-VERSION=${VERSION:-20180827}
+VERSION=${VERSION:-2020.10.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -45,16 +45,15 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
SRCNAM=${SRCNAM:-nanorc}
-SRCVER=${SRCVER:-19feaf51d88006a62c06e34a40f57960a7409e8e}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$SRCVER
-tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
-cd $SRCNAM-$SRCVER
+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 \
@@ -69,7 +68,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp license nanorc Readme.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp AUTHORS.rst license nanorc readme.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/nano-syntax-highlighting/nano-syntax-highlighting.info b/system/nano-syntax-highlighting/nano-syntax-highlighting.info
index d4f1cec5d9..f4c9b059b7 100644
--- a/system/nano-syntax-highlighting/nano-syntax-highlighting.info
+++ b/system/nano-syntax-highlighting/nano-syntax-highlighting.info
@@ -1,8 +1,8 @@
PRGNAM="nano-syntax-highlighting"
-VERSION="20180827"
+VERSION="2020.10.10"
HOMEPAGE="https://github.com/scopatz/nanorc"
-DOWNLOAD="https://github.com/scopatz/nanorc/archive/19feaf51d88006a62c06e34a40f57960a7409e8e/nanorc-19feaf51d88006a62c06e34a40f57960a7409e8e.tar.gz"
-MD5SUM="ad10dfe13170725642c096318027ddbf"
+DOWNLOAD="https://github.com/scopatz/nanorc/archive/2020.10.10/nanorc-2020.10.10.tar.gz"
+MD5SUM="fef2d5f43ac31ea0cad2cd7aed0d8255"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""