diff options
-rw-r--r-- | main/openvpn/APKBUILD | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/main/openvpn/APKBUILD b/main/openvpn/APKBUILD index 4c9999f628..0b29168f33 100644 --- a/main/openvpn/APKBUILD +++ b/main/openvpn/APKBUILD @@ -28,19 +28,17 @@ build() { --mandir=/usr/share/man \ --sysconfdir=/etc/openvpn \ --enable-crypto \ - --enable-iproute2 \ - || return 1 - make || return 1 + --enable-iproute2 + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install # install samples mkdir -p "$pkgdir"/usr/share/doc/$pkgname/samples - cp -a sample/sample-* "$pkgdir"/usr/share/doc/$pkgname/samples \ - || return 1 + cp -a sample/sample-* "$pkgdir"/usr/share/doc/$pkgname/samples install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING # install init.d and conf.d @@ -50,7 +48,6 @@ package() { # install up and down scripts install -Dm755 "$srcdir"/openvpn.up "$pkgdir"/etc/openvpn/up.sh install -Dm755 "$srcdir"/openvpn.down "$pkgdir"/etc/openvpn/down.sh - } pam() { |