Package Details: hugo 0.24.1-1

Git Clone URL: https://aur.archlinux.org/hugo.git (read-only)
Package Base: hugo
Description: Fast and Flexible Static Site Generator in Go — built from source.
Upstream URL: https://gohugo.io/
Licenses: Apache
Conflicts: hugo-bin, hugo-src
Submitter: fusion809
Maintainer: fordprefect (jonathon)
Last Packager: jonathon
Votes: 19
Popularity: 4.372161
First Submitted: 2016-11-04 00:38
Last Updated: 2017-06-24 10:30

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

pepper_chico commented on 2017-06-17 02:24

First time the package got broken for me. URLs must be fixed.

willruss1 commented on 2017-06-16 20:08

URL structure changed as well as the domain, it seems:

source=("$pkgname-$pkgver.tar.gz::https://github.com/gohugoio/hugo/${pkgname}/archive/v${pkgver}.tar.gz")

changed to

source=("$pkgname-$pkgver.tar.gz::https://github.com/gohugoio/${pkgname}/archive/v${pkgver}.tar.gz")

stopped a 404 during build, at least for me.

wbthomason commented on 2017-06-16 16:50

The hugo source has been moved to github.com/gohugoio/hugo. This makes the PKGBUILD fail, as it still references github.com/spf13/hugo. A simple global replacement of "spf13" with "gohugoio" fixes the PKGBUILD.

The URL in the PKGBUILD is also out of date (it should be gohugo.io).

Thanks!

geekinthesticks commented on 2017-03-22 08:51

I just tried again on a different Arch VM and it works correctly. So, the problem is somewhere on my other machine, not with AUR!

fordprefect commented on 2017-03-21 21:48

there is no need for that, you could use makechrootpkg from devtools for the same effect.
what i meant was not when you cloned it, important is that you clean up src before build.

geekinthesticks commented on 2017-03-21 21:44

Yes, my Arch is up to date and I cloned the package yesterday. I'll try again tomorrow on a fresh Arch VM.

fordprefect commented on 2017-03-20 20:01

@geekinthesticks: i could not reproduce your error. are you sure you build on an up-to-date system in a newly cloned environment?

fusion809 commented on 2017-03-20 19:24

I disowned the package. I don't see what else I can do to fix it, so whomever wishes to adopt it go ahead.

geekinthesticks commented on 2017-03-20 11:21

I am still getting:
==> Starting build()...
Error: flag provided but not defined: -v
govendor sync
Ensures the contents of the vendor folder matches the vendor file.
Options:
-n dry run, print out action only
-insecure allow downloading over insecure connection
govendor failedgo get github.com/kardianos/govendor
govendor sync github.com/spf13/hugo
go build -ldflags "-X github.com/spf13/hugo/hugolib.BuildDate=`date +%FT%T%z`" github.com/spf13/hugo
go build github.com/spf13/hugo: /usr/lib/go/pkg/tool/linux_amd64/link: signal: killed
make: *** [Makefile:17: hugo] Error 1
make no-git-info failed==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'hugo': No such file or directory

I have installed govendor from AUR.

fusion809 commented on 2017-02-28 04:31

@markusk na your approach suggestion would install the latest GIT release of Hugo, instead of the latest STABLE version. I have tried to fix the build error by adding the govendor package as a dep and ditching my efforts to build the govendor package myself in the build() function.

All comments