blob: ab97f72551ff0676f451fb2379a3738fe424b0b7 (
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.4
pkgrel=0
pkgdesc="Simple shell based CA utility"
url="https://github.com/OpenVPN/easy-rsa"
arch="noarch"
license="GPL-2.0"
depends="openssl"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVPN/easy-rsa/archive/v$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="6598a33a958a9dfa473af7770847b095f62288368e0601410914e639e13b6e432c520f72f3bcba4d8bf63fba1002f96f754571be2ca80389e683d9514c397933 easy-rsa-3.0.4.tar.gz"
|