[arch-commits] Commit in cfssl/repos (community-x86_64 community-x86_64/PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Mon Dec 6 11:17:15 UTC 2021
Date: Monday, December 6, 2021 @ 11:17:15
Author: shibumi
Revision: 1065271
archrelease: copy trunk to community-x86_64
Added:
cfssl/repos/community-x86_64/
cfssl/repos/community-x86_64/PKGBUILD
(from rev 1065270, cfssl/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: cfssl/repos/community-x86_64/PKGBUILD (from rev 1065270, cfssl/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-12-06 11:17:15 UTC (rev 1065271)
@@ -0,0 +1,37 @@
+# Maintainer : Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Konstantin Gribov <grossws at gmail.com>
+
+pkgname=cfssl
+pkgver=1.6.1
+pkgrel=1
+pkgdesc="CloudFlare PKI and TLS toolkit"
+arch=('i686' 'x86_64')
+url="https://cfssl.org/"
+license=('BSD')
+depends=('glibc')
+makedepends=('go')
+
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cloudflare/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('00f5316e8f065a48eeb02b7359aa67699a5c1362b09c6e8faa19d8f35451c1d8')
+
+_binaries=(cfssl cfssljson cfssl-bundle cfssl-certinfo cfssl-newkey cfssl-scan mkbundle multirootca)
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make VERSION="${pkgver}-${pkgrel}"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ for bin in ${_binaries[@]} ; do
+ install -m755 -D -t "${pkgdir}/usr/bin/" bin/${bin}
+ done
+
+ # special case to avoid clash with `mono`
+ mv ${pkgdir}/usr/bin/mkbundle ${pkgdir}/usr/bin/cfssl-mkbundle
+
+ install -m644 -D LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: et: sw=2: sts=2:
More information about the arch-commits
mailing list