# Contributor: Thomas Boerger # Maintainer: Thomas Boerger pkgname=hugo pkgver=0.55.6 pkgrel=1 pkgdesc="A Fast and Flexible Static Site Generator built with love in GoLang" url="https://gohugo.io/" arch="all !x86" # tests fails on x86 license="Apache-2.0" makedepends="go" source=" $pkgname-$pkgver.tar.gz::https://github.com/gohugoio/hugo/archive/v$pkgver.tar.gz 0001-Remove-git-tests.patch " build() { go build -v -o bin/$pkgname --tags extended } check() { go test ./... } package() { install -Dm755 "$builddir"/bin/$pkgname "$pkgdir"/usr/bin/$pkgname } sha512sums="b45d50ae109d1f5bbc1d52f1c8d46a1638fd83bec8a2600c3cfd6d303fdcf58db1d9201844174558e8dea62132ff146fbff9995ae0350ff2f7e4106adf07b861 hugo-0.55.6.tar.gz 66ffa51fa50209542c5ef6af2daeccb0be9fa20812f1b83c81623859fd652d047eb5d6e57b967d705d23e8760218d7c9973897d0a05d5cf2c2f33ff2bd0615d1 0001-Remove-git-tests.patch"