blob: 3374a2dfa112017d0f3abc6c5f87382cf8201bb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Natanael Copa
pkgname=easy-rsa
pkgver=3.0.0
pkgrel=0
pkgdesc="Simple shell based CA utility"
url="https://github.com/OpenVPN/easy-rsa"
arch="noarch"
license="GPL2"
depends="openssl"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVPN/easy-rsa/archive/$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
return 0
}
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/ \
|| return 1
}
md5sums="3034c5698f391344337f58c6cab9bbfd easy-rsa-3.0.0.tar.gz"
sha256sums="ae01d611e4f010172deeb84493f5871b4228b31205c3e3c964399ada3176228b easy-rsa-3.0.0.tar.gz"
sha512sums="676b1e914e6f8ebfad0dd268ebc502cfaf4938ed482819b9c1e3beffda687554d85673041373698c2e3a62e365e70c75ac2343867269dd0f71a6b78a4ca93265 easy-rsa-3.0.0.tar.gz"
|