mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-30 02:41:17 +02:00
28 lines
810 B
Plaintext
28 lines
810 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=easy-rsa
|
|
pkgver=3.0.5
|
|
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/
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
./easyrsa3/easyrsa help
|
|
}
|
|
|
|
sha512sums="9231ca7fda489a230d8418679d8824503ae680e2de6682d5f2d2fa716597f7df5980b7b88a3f6eb4fa0b7d9bbead59a1e2e4b8f4a5a36bda7f78ffa8f3c23d34 easy-rsa-3.0.5.tar.gz"
|