# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=ginkgo pkgver=1.14.1 pkgrel=0 pkgdesc="BDD-style Go testing framework" url="https://onsi.github.io/ginkgo/" options="chmod-clean" arch="all !armhf !mips !mips64" # armhf: test failures; mips: limited by go license="MIT" makedepends="go" source="$pkgname-$pkgver.tar.gz::https://github.com/onsi/ginkgo/archive/v$pkgver.tar.gz pie-and-race-conflict.patch " export GOPATH="$srcdir" build() { go build -v -ldflags "-s -w" -o bin/ginkgo ./ginkgo } check() { go test ./... } package() { install -Dm755 bin/ginkgo "$pkgdir"/usr/bin/ginkgo } cleanup_srcdir() { go clean -modcache default_cleanup_srcdir } sha512sums="8d38deca431d378af9102381d8ba100fcc3fd802c64af4a06d59b14121428c4d5c3b4f3e163aff056e406322a22e17c24897a372f297613ecf35c4eaf2672381 ginkgo-1.14.1.tar.gz 6d8a1ad1160ccede8eeda204277bb974b9a678efaa5624ab03d8eb204202c26c60e37b3aadd6e6368ac2d57cd073720f9faf4e397bcebb50bc643f680ca45534 pie-and-race-conflict.patch"