summaryrefslogtreecommitdiff
path: root/testing/certigo/APKBUILD
blob: a01497c4b9de4898d202dc9b06c40346b6a42a9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=certigo
pkgver=1.16.0
pkgrel=2
pkgdesc="Utility to examine and validate certificates in a variety of formats"
url="https://github.com/square/certigo"
arch="all"
license="Apache-2.0"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/square/certigo/archive/v$pkgver/v$pkgver.tar.gz"
options="chmod-clean"

build() {
	go build -trimpath
}

check() {
	go test -v ./...
}

package() {
	install -Dm755 certigo "$pkgdir"/usr/bin/certigo
}

sha512sums="
036f05004d242714ad50d4e8ce2a55d922d1bcb248a3bfcc2a153ca7dfbb12a521ed18bb269a6aebb9754fc69198664544da7fb0bb3b438b70373e2e7bd2e14a  certigo-1.16.0.tar.gz
"