summaryrefslogtreecommitdiff
path: root/easy-rsa/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-24 10:56:31 +0200
committerErich Eckner <git@eckner.net>2016-05-24 11:03:12 +0200
commit839de028a0c652b42858e73584d371054df11baa (patch)
tree11adad950d4275a64fcf1183e626059e00dfeba6 /easy-rsa/PKGBUILD
parente3eb57bd06a7b2b4649dca56d2b8c01873986389 (diff)
downloadarchlinuxewe-839de028a0c652b42858e73584d371054df11baa.tar.xz
easy-rsa neu
Diffstat (limited to 'easy-rsa/PKGBUILD')
-rw-r--r--easy-rsa/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/easy-rsa/PKGBUILD b/easy-rsa/PKGBUILD
new file mode 100644
index 000000000..287d27968
--- /dev/null
+++ b/easy-rsa/PKGBUILD
@@ -0,0 +1,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/
+}