pkgname: openvpn pkgver: '2.7.6' pkgrel: '1' pkgdesc: 'An easy-to-use, robust and highly configurable VPN (Virtual Private Network) client' url: 'https://github.com/OpenVPN/openvpn' arch: x86_64 depends: [] makedepends: - git - autoconf - 'libcap-ng' - automake - m4 - libtool - sed - grep - pam - lzo - 'python-docutils' - lz4 source: - '0001-unprivileged.patch' - 'https://github.com/OpenVPN/openvpn.git' sha256sums: - SKIP - SKIP build: | cd openvpn sed -i '/^CONFIGURE_DEFINES=/s/set/env/g' configure.ac #patch -Np1 < ../0001-unprivileged.patch autoreconf --force --install ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ --enable-iproute2 \ --enable-plugins \ --enable-x509-alt-username make make DESTDIR=${PKGDIR} install # Obsolets libs rm -f ${PKGDIR}/usr/lib/openvpn/plugins/openvpn-plugin-auth-pam.la rm -f ${PKGDIR}/usr/lib/openvpn/plugins/openvpn-plugin-down-root.la rm /usr/bin/rst2{man,html} package: | true