summaryrefslogtreecommitdiff
path: root/development/hugo/hugo.SlackBuild
diff options
context:
space:
mode:
authorAndrew Payne <phalange@komputermatrix.com>2020-10-23 21:25:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-23 21:25:23 +0700
commit390f14a213e055456580234084ba029e53441741 (patch)
tree0566dcad949928ff8948ab00747448e83f433074 /development/hugo/hugo.SlackBuild
parente34f23b6cecebf27a6df4d1e88d62707ff2c0459 (diff)
downloadslackbuilds-390f14a213e055456580234084ba029e53441741.tar.gz
development/hugo: Updated for version 0.76.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/hugo/hugo.SlackBuild')
-rw-r--r--development/hugo/hugo.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/development/hugo/hugo.SlackBuild b/development/hugo/hugo.SlackBuild
index 058145a4fd..388e30439d 100644
--- a/development/hugo/hugo.SlackBuild
+++ b/development/hugo/hugo.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for hugo
+# Copyright 2020 Andrew Payne
# Copyright 2018-2019 Donald Cooley South Haven, IN USA
# All rights reserved.
#
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hugo
-VERSION=${VERSION:-0.60.1}
+VERSION=${VERSION:-0.76.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,8 +66,9 @@ 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 {} \;
-mkdir -p $PKG/usr/bin/
-cp hugo $PKG/usr/bin/hugo
+mkdir -p $PKG/{usr/bin,opt/$PRGNAM}
+ cp -a * $PKG/opt/$PRGNAM
+ ln -s /opt/$PRGNAM/hugo $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \