summaryrefslogtreecommitdiff
path: root/development/hugo/hugo.SlackBuild
diff options
context:
space:
mode:
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 \