blob: 287d27968ba610ba4cc93c929b378f57be740eea (
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
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Thomas Bächler <thomas@archlinux.org>
pkgname=easy-rsa
pkgver=3.0.1
pkgrel=1
pkgdesc="Simple shell based CA utility"
arch=(any)
url="https://github.com/OpenVPN/easy-rsa"
depends=('openssl' 'sh')
license=('custom')
backup=('usr/share/easy-rsa/easyrsa3/openssl-1.0.cnf')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/OpenVPN/easy-rsa/archive/${pkgver}.tar.gz)
sha512sums=('818e757041a035c2983951a688b111cb2e869f6e34830248f3643049257dd48ec58021b16afbac007d19838cc10eee9226500bcd0ed023de308bb8a210a9840c')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
# doc and license
install -d ${pkgdir}/usr/share/doc/easy-rsa/
mv doc/* ${pkgdir}/usr/share/doc/easy-rsa/
rmdir doc
install -d ${pkgdir}/usr/share/licenses/easy-rsa/
mv ChangeLog COPYING KNOWN_ISSUES ${pkgdir}/usr/share/licenses/easy-rsa/
# Install easy-rsa
install -d ${pkgdir}/usr/share/easy-rsa/
mv * ${pkgdir}/usr/share/easy-rsa/
}
|