1 # Maintainer : Christian Rebischke <chris.rebischke@archlinux.org>
2 # Contributor: Konstantin Gribov <grossws@gmail.com>
7 pkgdesc="CloudFlare PKI and TLS toolkit"
9 url="https://cfssl.org/"
14 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cloudflare/${pkgname}/archive/v${pkgver}.tar.gz")
15 sha256sums=('652b8c50882035e7dc13e937729c84217259838ba80ce089048b96795389482e')
17 _binaries=(cfssl cfssljson cfssl-bundle cfssl-certinfo cfssl-newkey cfssl-scan mkbundle multirootca)
20 cd "${srcdir}/${pkgname}-${pkgver}"
21 make VERSION="${pkgver}-${pkgrel}"
25 cd "${srcdir}/${pkgname}-${pkgver}"
27 for bin in ${_binaries[@]} ; do
28 install -m755 -D -t "${pkgdir}/usr/bin/" bin/${bin}
31 # special case to avoid clash with `mono`
32 mv ${pkgdir}/usr/bin/mkbundle ${pkgdir}/usr/bin/cfssl-mkbundle
34 install -m644 -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
37 # vim: et: sw=2: sts=2: