development/hugo: Updated for version 0.76.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
e34f23b6ce
commit
390f14a213
|
@ -5,7 +5,7 @@ website.
|
|||
|
||||
Hugo relies on Markdown files with front matter for metadata, and you
|
||||
can run Hugo from any directory. This works well for shared hosts and
|
||||
other systems where you don't have a privileged account.
|
||||
other systems where you don’t have a privileged account.
|
||||
|
||||
Hugo renders a typical website of moderate size in a fraction of a
|
||||
second. A good rule of thumb is that each piece of content renders in
|
||||
|
@ -14,8 +14,5 @@ around 1 millisecond.
|
|||
Hugo is designed to work well for any kind of website including blogs,
|
||||
tumbles, and docs.
|
||||
|
||||
Please note, Hugo is under active development and its features set may
|
||||
change from one release to the next.
|
||||
|
||||
This Slackbuild simply installs the Hugo binary in /usr/bin for easier
|
||||
upgrades.
|
||||
Notes:
|
||||
This Slackbuild installs the Hugo binary in /opt
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="hugo"
|
||||
VERSION="0.60.1"
|
||||
VERSION="0.76.5"
|
||||
HOMEPAGE="https://gohugo.io"
|
||||
DOWNLOAD="https://github.com/gohugoio/hugo/releases/download/v0.60.1/hugo_0.60.1_Linux-32bit.tar.gz"
|
||||
MD5SUM="f0e5f789af46be298f141541a537a453"
|
||||
DOWNLOAD_x86_64="https://github.com/gohugoio/hugo/releases/download/v0.60.1/hugo_0.60.1_Linux-64bit.tar.gz"
|
||||
MD5SUM_x86_64="876c51da7649fc0dc4b907136b54b45c"
|
||||
DOWNLOAD="https://github.com/gohugoio/hugo/releases/download/v0.76.5/hugo_0.76.5_Linux-32bit.tar.gz"
|
||||
MD5SUM="2f47aff2fb0010070e5aef4ade01c467"
|
||||
DOWNLOAD_x86_64="https://github.com/gohugoio/hugo/releases/download/v0.76.5/hugo_0.76.5_Linux-64bit.tar.gz"
|
||||
MD5SUM_x86_64="a80b9e8c831d7bad4374cb979591a44c"
|
||||
REQUIRES=""
|
||||
MAINTAINER="Donald Cooley"
|
||||
EMAIL="chytraeu@sdf.org"
|
||||
MAINTAINER="Andrew Payne"
|
||||
EMAIL="phalange@komputermatrix.com"
|
||||
|
|
|
@ -10,10 +10,10 @@ hugo: hugo (static HTML and CSS website generator written in Go)
|
|||
hugo:
|
||||
hugo: Hugo is a static HTML and CSS website generator written in Go. It is
|
||||
hugo: optimized for speed, ease of use, and configurability. Hugo takes a
|
||||
hugo: directory with content and templates and renders them into a full HTML
|
||||
hugo: website.
|
||||
hugo: Hugo relies on Markdown files with front matter for metadata, and you
|
||||
hugo: can run Hugo from any directory. This works well for shared hosts and
|
||||
hugo: other systems where you don't have a privileged account.
|
||||
hugo: directory with content and templates and renders them into a full
|
||||
hugo: HTML website.
|
||||
hugo:
|
||||
hugo: Homepage: https://gohugo.io
|
||||
hugo:
|
||||
hugo:
|
||||
hugo:
|
||||
|
|
Loading…
Reference in New Issue