mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-09 09:52:27 +01:00
testing/protoc-gen-openapi: new aport
This commit is contained in:
parent
61642fb5bd
commit
29ca2e82ea
28
testing/protoc-gen-openapi/APKBUILD
Normal file
28
testing/protoc-gen-openapi/APKBUILD
Normal file
@ -0,0 +1,28 @@
|
||||
maintainer="Leon White <badfunkstripe@gmail.com>"
|
||||
pkgname=protoc-gen-openapi
|
||||
pkgver=0.4.0
|
||||
pkgrel=0
|
||||
pkgdesc="protoc plugin to generate OpenAPI v3 spec"
|
||||
url="https://github.com/solo-io/protoc-gen-openapi"
|
||||
arch="all"
|
||||
license="Apache-2.0"
|
||||
depends="protoc"
|
||||
makedepends="go"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/solo-io/protoc-gen-openapi/archive/refs/tags/v$pkgver.tar.gz"
|
||||
options="net" # download Go modules
|
||||
|
||||
build() {
|
||||
go build -v .
|
||||
}
|
||||
|
||||
check() {
|
||||
go test ./...
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 protoc-gen-openapi -t "$pkgdir"/usr/bin/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
c90cda842b59c26ad1571f2d0e815780452448d0d3b5cd6cbc23314238965ab9878c89b54f0166dc4586c7a8e15b62e6e3cb30a58efc7887b62ced4d382a549f protoc-gen-openapi-0.4.0.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user