[arch-commits] Commit in easy-rsa/repos (testing-any testing-any/PKGBUILD)
Thomas Bächler
thomas at nymeria.archlinux.org
Wed Nov 13 19:04:09 UTC 2013
Date: Wednesday, November 13, 2013 @ 20:04:08
Author: thomas
Revision: 199504
archrelease: copy trunk to testing-any
Added:
easy-rsa/repos/testing-any/
easy-rsa/repos/testing-any/PKGBUILD
(from rev 199503, easy-rsa/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: easy-rsa/repos/testing-any/PKGBUILD (from rev 199503, easy-rsa/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2013-11-13 19:04:08 UTC (rev 199504)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=easy-rsa
+pkgver=2.2.2
+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/vars'
+ 'usr/share/easy-rsa/openssl-1.0.0.cnf')
+source=(${pkgname}-${pkgver}::https://github.com/OpenVPN/easy-rsa/archive/${pkgver}.tar.gz)
+md5sums=('040238338980617bc9c2df4274349593')
+
+prepare() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ autoreconf -i
+}
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+ make install DESTDIR="${pkgdir}"
+ rm -f ${pkgdir}/usr/share/openvpn/easy-rsa/openssl-0.9.?.cnf
+ # Install license
+ install -d -m755 "${pkgdir}"/usr/share/licenses/${pkgname}/
+ ln -sf /usr/share/doc/${pkgname}/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
More information about the arch-commits
mailing list