# Contributor: Thomas Boerger # Maintainer: Thomas Boerger pkgname=hugo pkgver=0.55.5 pkgrel=0 pkgdesc="A Fast and Flexible Static Site Generator built with love in GoLang" url="http://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 " builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" go build -v -o bin/$pkgname --tags extended } check() { cd "$builddir" go test ./... } package() { install -Dm755 "$builddir"/bin/$pkgname "$pkgdir"/usr/bin/$pkgname } sha512sums="1558b334a3443428ab29d4ac923b0023f0aaf3457e45248200c7ee258cb9ab101086d996392a53168269b1edb0bf7ea0d3e1374a4711cfaef165d136abb8e506 hugo-0.55.5.tar.gz 66ffa51fa50209542c5ef6af2daeccb0be9fa20812f1b83c81623859fd652d047eb5d6e57b967d705d23e8760218d7c9973897d0a05d5cf2c2f33ff2bd0615d1 0001-Remove-git-tests.patch"