# Maintainer: Natanael Copa pkgname=easy-rsa pkgver=3.0.8 pkgrel=0 pkgdesc="Simple shell based CA utility" url="https://github.com/OpenVPN/easy-rsa" arch="noarch" license="GPL-2.0-only" depends="openssl" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVPN/easy-rsa/archive/v$pkgver.tar.gz" package() { mkdir -p "$pkgdir"/usr/share/easy-rsa \ "$pkgdir"/usr/share/doc/easy-rsa cp -rp easyrsa3/* "$pkgdir"/usr/share/easy-rsa/ \ && cp -rp doc/* "$pkgdir"/usr/share/doc/easy-rsa/ } check() { ./easyrsa3/easyrsa help } sha512sums="db23262ba2cd1b7fec17340ebe11504741baff23098ea9b4b1118077abf8ff3091b1299f9624a6dd788b2e1c169d9820ba41d11b091949f3f6c96ee8e0509231 easy-rsa-3.0.8.tar.gz"