Package Details: hugo 0.16-1

Git Clone URL: https://aur.archlinux.org/hugo.git (read-only)
Package Base: hugo
Description: Fast and Flexible Static Site Generator in Go
Upstream URL: http://hugo.spf13.com/
Licenses: Apache
Submitter: Cornu
Maintainer: wicast
Last Packager: wicast
Votes: 40
Popularity: 2.307988
First Submitted: 2014-01-03 00:20
Last Updated: 2016-06-10 03:05

Latest Comments

masterme120 commented on 2016-08-11 04:42

I would suggest adding these two lines to package() to enable autocompletion:

mkdir -p ${pkgdir}/usr/share/bash-completion/completions
${srcdir}/${pkgname} gen autocomplete --completionfile="${pkgdir}/usr/share/bash-completion/completions/${pkgname}"

doskoi commented on 2016-05-14 16:03

External helpers like asciidoc should be added as optional dependencies I think (see https://gohugo.io/content/supported-formats/).

skrylar commented on 2016-05-01 02:53

The AUR repository 404's.
[edit] Seems to work if cloned at the CLI. Weird, since some packages DO show up in the web browser.

runical commented on 2016-03-21 21:19

As promised, I overhauled the PKGBUILD to be more correct and more clear based on the syncthing-bin PKGBUILD [1]. It also catches all versions of ARM as long as they are added to the arch array. I didn't get to the build from source PKGBUILD yet, but I'll get there sometime this week.

[1] https://gist.github.com/runical/0689c6ceb38a6e786f34

runical commented on 2016-03-21 14:57

Could you rename this to hugo-bin? Appending -bin to the package means that it contains a precompiled binary (as is the case here). Not appending -bin generally means that the package is compiled from source if at all possible.

Also, I run Arch ARM on a cubox, which has the ARMv7h architecture. Your current PKGBUILD does not work because it checks for arm and not arm*. Maybe you could take a look at the syncthing-bin package on the AUR to improve the PKGBUILD?
I'll give it a shot later today if you didnt' get around to it.

romansaveljev commented on 2016-03-12 10:52

Hello, 'hugo gen autocomplete --completionfile /usr/share/bash_completion/completions/hugo' would be nice to add post-installation. It will provide autocompletion for hugo command

wicast commented on 2016-02-25 09:42

@ntsp it seems a bug of pacman5.The old version pacman is ok.
And I haven't tested arm version yet.My arm device is currently not on hand.

ntsp commented on 2016-02-24 08:51

The PKGBUILD as it is fails with the most recent tools:

/usr/share/makepkg/util/util.sh: line 49: declare: sha256sums: not found
==> ERROR: sha256sums_x86_64 should be an array
/usr/share/makepkg/util/util.sh: line 49: declare: source: not found
==> ERROR: source_x86_64 should be an array
/usr/share/makepkg/util/util.sh: line 49: declare: sha256sums: not found
==> ERROR: sha256sums_i686 should be an array
/usr/share/makepkg/util/util.sh: line 49: declare: source: not found
==> ERROR: source_i686 should be an array
/usr/share/makepkg/util/util.sh: line 49: declare: sha256sums: not found
==> ERROR: sha256sums_arm should be an array
/usr/share/makepkg/util/util.sh: line 49: declare: source: not found
==> ERROR: source_arm should be an array
==> ERROR: Makepkg was unable to build hugo.


To make it build, I added the missing arrays it expects with empty values:

sha256sums=()
source=()

wicast commented on 2015-08-09 05:58

Where is the arm version?

Cornu commented on 2015-04-11 10:10

Why build if there are pre-build binarys? Feel free to do a hugo-git PKGBUILD ;)

All comments