Skip to content
Snippets Groups Projects
Commit b68dedee authored by Fabian Affolter's avatar Fabian Affolter Committed by Natanael Copa
Browse files

testing/easy-rsa: update source

parent 6fa1faa7
No related branches found
No related tags found
No related merge requests found
...@@ -5,15 +5,15 @@ pkgrel=0 ...@@ -5,15 +5,15 @@ pkgrel=0
pkgdesc="Simple shell based CA utility" pkgdesc="Simple shell based CA utility"
url="https://github.com/OpenVPN/easy-rsa" url="https://github.com/OpenVPN/easy-rsa"
arch="noarch" arch="noarch"
license="GPLv2" license="GPL2"
depends="openssl" depends="openssl"
depends_dev="" depends_dev=""
makedepends="$depends_dev autoconf automake" makedepends="$depends_dev autoconf automake"
install="" install=""
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="saveas-https://github.com/OpenVPN/easy-rsa/archive/v$pkgver.tar.gz/$pkgname-$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVPN/easy-rsa/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/easy-rsa-$pkgver _builddir="$srcdir"/$pkgname-$pkgver
prepare() { prepare() {
local i local i
cd "$_builddir" cd "$_builddir"
...@@ -28,13 +28,13 @@ prepare() { ...@@ -28,13 +28,13 @@ prepare() {
build() { build() {
cd "$_builddir" cd "$_builddir"
./configure --prefix=/usr ./configure --prefix=/usr
make make || return 1
} }
package() { package() {
cd "$_builddir" cd "$_builddir"
mkdir -p "$pkgdir"/usr/share/easy-rsa mkdir -p "$pkgdir"/usr/share/easy-rsa
make install DESTDIR="$pkgdir" make install DESTDIR="$pkgdir" || return 1
} }
md5sums="bb0478283f7f786a594a469257b85b71 easy-rsa-2.2.0.tar.gz" md5sums="bb0478283f7f786a594a469257b85b71 easy-rsa-2.2.0.tar.gz"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment