diff options
author | Konstantin Gribov | 2018-03-28 19:54:14 +0300 |
---|---|---|
committer | Konstantin Gribov | 2018-03-28 19:54:14 +0300 |
commit | 6e6824614156a2b986850853533b9768428cc34c (patch) | |
tree | 6c9319a6beff7978f899ac65b0e8db4dd934d983 | |
parent | b67e2c463bae57186ab83dc5976a95526607c9a2 (diff) | |
download | aur-6e6824614156a2b986850853533b9768428cc34c.tar.gz |
Fixed build
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 5 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = cfssl pkgdesc = CloudFlare PKI and TLS toolkit pkgver = 1.3.2 - pkgrel = 1 + pkgrel = 2 url = https://cfssl.org/ arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ pkgname=cfssl pkgver=1.3.2 -pkgrel=1 +pkgrel=2 pkgdesc="CloudFlare PKI and TLS toolkit" arch=('i686' 'x86_64') url="https://cfssl.org/" @@ -15,8 +15,7 @@ sha256sums=('69ddddb25beebe65e6fe316b9ab3472eae1cd21b2f377447ddc104624233e419') _prefix=github.com/cloudflare/${pkgname} -# all binaries except `mkbundle`(renamed to avoid conflict with `mono`) -_binaries=(cfssl cfssljson cfssl-bundle cfssl-certinfo cfssl-newkey cfssl-scan multirootca) +_binaries=(cfssl cfssljson cfssl-bundle cfssl-certinfo cfssl-newkey cfssl-scan mkbundle multirootca) prepare () { export GOPATH="${srcdir}" @@ -31,16 +30,14 @@ build() { echo "building $bin" go install ${_prefix}/cmd/${bin} done - - # special case to avoid clash with `mono` - go install -o cfssl-mkbundle ${_prefix}/cmd/mkbundle } package() { for bin in ${_binaries[@]} ; do install -m755 -D -t "${pkgdir}/usr/bin/" ${srcdir}/bin/${bin} done - install -m755 -D -t "${pkgdir}/usr/bin/" ${srcdir}/bin/cfssl-mkbundle + # special case to avoid clash with `mono` + mv ${pkgdir}/usr/bin/mkbundle ${pkgdir}/usr/bin/cfssl-mkbundle install -m644 -D ${srcdir}/src/${_prefix}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |