# Contributor: Michał Polański # Maintainer: Michał Polański pkgname=ginkgo pkgver=1.14.2 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="202cc81db7fb86409faa5e1ead4f55ed3aa29d51611a2f0ec9de73a645e10e3f6efacbac44b72d548fb229c75dd17f1e12bdb46c7c8ba0d3589531f7cabf251d ginkgo-1.14.2.tar.gz 6d8a1ad1160ccede8eeda204277bb974b9a678efaa5624ab03d8eb204202c26c60e37b3aadd6e6368ac2d57cd073720f9faf4e397bcebb50bc643f680ca45534 pie-and-race-conflict.patch"