1 # Maintainer: Thomas Bächler <thomas@archlinux.org>
6 pkgdesc='Simple shell based CA utility'
8 url='https://github.com/OpenVPN/easy-rsa'
9 depends=('openssl' 'sh' 'grep')
11 backup=('etc/easy-rsa/openssl-easyrsa.cnf'
14 '65FF3F24AA08E882CB444C94D731D97A606FD463' # Josh Cepek <josh.cepek@usa.net>
15 '6F4056821152F03B6B24F2FCF8489F839D7367F3') # Eric Crist <ecrist@secure-computing.net>
16 source=("https://github.com/OpenVPN/easy-rsa/releases/download/v${pkgver}/EasyRSA-${pkgver}.tgz"{,.sig})
17 sha256sums=('01b07ecb58dc003e47d4e74f9fc4da35ec6842e96cd003d66ed72a43df983659'
23 install -D -m0755 easyrsa "${pkgdir}"/usr/bin/easyrsa
25 install -D -m0644 openssl-easyrsa.cnf "${pkgdir}"/etc/easy-rsa/openssl-easyrsa.cnf
26 install -D -m0644 vars.example "${pkgdir}"/etc/easy-rsa/vars
27 install -d -m0755 "${pkgdir}"/etc/easy-rsa/x509-types/
28 install -m0644 x509-types/* "${pkgdir}"/etc/easy-rsa/x509-types/
30 install -d -m0755 "${pkgdir}"/usr/share/doc/easy-rsa/
31 install -m0644 doc/* ChangeLog "${pkgdir}"/usr/share/doc/easy-rsa/
33 install -D -m0644 COPYING.md "${pkgdir}"/usr/share/licenses/easy-rsa/COPYING