blob: 47d9b92a199506bf660f9e777780be318f4dfa6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=easy-rsa
pkgver=3.0.1
pkgrel=0
pkgdesc="Simple shell based CA utility"
url="https://github.com/OpenVPN/easy-rsa"
arch="noarch"
license="GPL2"
depends="openssl"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVPN/easy-rsa/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
package() {
cd "$builddir"
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/
}
sha512sums="818e757041a035c2983951a688b111cb2e869f6e34830248f3643049257dd48ec58021b16afbac007d19838cc10eee9226500bcd0ed023de308bb8a210a9840c easy-rsa-3.0.1.tar.gz"
|