Package Details: hugo-extended-cli 0.119.0-1

Git Clone URL: https://aur.archlinux.org/hugo-extended-cli.git (read-only, click to copy)
Package Base: hugo-extended-cli
Description: Extended version of Hugo
Upstream URL: https://gohugo.io/
Keywords:
Licenses: Apache 2.0
Conflicts: hugo, hugo-extended-bin, hugo-git
Submitter: mapleafgo
Maintainer: mapleafgo
Last Packager: mapleafgo
Votes: 1
Popularity: 0.007405
First Submitted: 2022-03-28 07:59 (UTC)
Last Updated: 2023-10-11 01:52 (UTC)

Latest Comments

xeptore commented on 2023-07-16 15:23 (UTC)

See gohugo-bin, and gohugo-extended-bin.

Porous3247 commented on 2023-07-14 03:02 (UTC) (edited on 2023-07-14 03:41 (UTC) by Porous3247)

I fixed a lot of things in PKGBUILD:

# Maintainer: mapleafgo <mapleafgo@163.com>
# Contributor: Porous3247 <pqtb3v7t at jasonyip1 dot anonaddy dot me>
_pkgname="hugo"
pkgname=${_pkgname}-extended-cli
pkgver=0.115.3
pkgrel=1
pkgdesc="Extended version of Hugo"
arch=('x86_64' 'aarch64')
url="https://gohugo.io/"
depends=('glibc')
license=('Apache')
conflicts=("${_pkgname}")
provides=("${_pkgname}")
source_x86_64=("https://github.com/gohugoio/${_pkgname}/releases/download/v${pkgver}/${_pkgname}_extended_${pkgver}_linux-amd64.tar.gz")
source_aarch64=("https://github.com/gohugoio/${_pkgname}/releases/download/v${pkgver}/${_pkgname}_extended_${pkgver}_linux-arm64.tar.gz")
md5sums_x86_64=("SKIP")
md5sums_aarch64=("SKIP")

pkgver() {
  curl "https://api.github.com/repos/gohugoio/hugo/releases/latest" 2>/dev/null | sed -n 's/^\s*"tag_name"\s*:\s*"v\([[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\)"\s*,\s*$/\1/p'
}

package() {
  cd "${srcdir}"
  install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${_pkgname}"
  install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${_pkgname}"
  install -Dm755 "${_pkgname}" -t "${pkgdir}/usr/bin"
}

I believe this package should be renamed to hugo-extended-bin, although since this package is unusually dynamically versioned, there would be no usual tarball checksums.

mapleafgo commented on 2023-07-13 06:52 (UTC)

@kobe-koto Try the latest version

kobe-koto commented on 2023-07-11 11:07 (UTC) (edited on 2023-07-11 11:09 (UTC) by kobe-koto)

hugo-extended-cli support aarch64,

aarch64 package URL: https://github.com/gohugoio/hugo/releases/download/v$pkgver/hugo_extended_${pkgver}_Linux-arm64.tar.gz -o dl.tar.gz,

Please add it.