diff options
Diffstat (limited to 'testing/easy-rsa')
-rw-r--r-- | testing/easy-rsa/APKBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/testing/easy-rsa/APKBUILD b/testing/easy-rsa/APKBUILD index b38f36e3be..3374a2dfa1 100644 --- a/testing/easy-rsa/APKBUILD +++ b/testing/easy-rsa/APKBUILD @@ -8,7 +8,7 @@ arch="noarch" license="GPL2" depends="openssl" depends_dev="" -makedepends="$depends_dev autoconf automake" +makedepends="$depends_dev" install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVPN/easy-rsa/archive/$pkgver.tar.gz" @@ -22,19 +22,20 @@ prepare() { *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done - aclocal && autoconf && automake --add-missing } build() { cd "$_builddir" - ./configure --prefix=/usr - make || return 1 + return 0 } package() { cd "$_builddir" - mkdir -p "$pkgdir"/usr/share/easy-rsa - make install DESTDIR="$pkgdir" || return 1 + 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" |