]> git.t-rg.ws Git - slackbuilds.git/commitdiff
hugo: small edits
authorfsLeg <fsleg@t-rg.ws>
Sat, 30 Aug 2025 15:29:20 +0000 (18:29 +0300)
committerfsLeg <fsleg@t-rg.ws>
Sat, 30 Aug 2025 15:29:20 +0000 (18:29 +0300)
hugo/README
hugo/hugo.SlackBuild

index c687ef550b9f48064eceeb38317dccdda25a11ba..b4446410975c98753b8d8b4d2e54a64a1b706444 100644 (file)
@@ -15,12 +15,12 @@ Hugo is designed to work well for any kind of website including blogs,
 tumbles, and docs.
 
 By default the extended version with deployment support is built. The
-extended version adds support for WebP image encoding and SASS
+extended version adds support for WebP image encoding and Sass
 processing. The deployment support allows you to deploy your website to
 Amazon S3, Azure Blob Storage, or Google Cloud Storage. To build just
 the core version use:
 
     EXTENDED=no DEPLOY=no ./hugo.SlackBuild
 
-dart-sass is an optional runtime dependency. It'll be used for SASS
-processing regardless of version built.
+dart-sass is an optional runtime dependency. If it's installed, it'll be
+used for Sass processing regardless of version built.
index a2908a322f86f478d2eaef1c414c116755a1794d..6376cc0509b9acee8c79db0d49242d15ecf43094 100644 (file)
@@ -104,14 +104,10 @@ go build -v \
             -extldflags '${LDFLAGS}'"
 
 mkdir -p $PKG/usr/bin \
-         $PKG/usr/man/man1 \
          $PKG/usr/doc/$PRGNAM-$VERSION \
          $PKG/usr/share/bash-completion/completions \
          $PKG/usr/share/fish/vendor_completions.d \
          $PKG/usr/share/zsh/site-functions
-# hugo can generate man pages as well as docs, however, man pages are harder to read
-# due to bad formatting, otherwise they are identical to docs
-#./hugo gen man --dir $PKG/usr/man/man1
 ./hugo gen doc --dir $PKG/usr/doc/$PRGNAM-$VERSION
 ./hugo completion bash > $PKG/usr/share/bash-completion/completions/$PRGNAM
 ./hugo completion fish > $PKG/usr/share/fish/vendor_completions.d/$PRGNAM.fish
@@ -121,9 +117,6 @@ install -Dm755 -t $PKG/usr/bin hugo
 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
   | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
 
-#find $PKG/usr/man -type f -exec gzip -9 {} \;
-#for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
 cp -a \
   CONTRIBUTING.md LICENSE README.md SECURITY.md \
   $PKG/usr/doc/$PRGNAM-$VERSION