From 57d3e16784676109b3f9ffd527e356e9873edda5 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Thu, 10 Dec 2015 21:49:29 -0500 Subject: net-misc/openconnect: Cosmetic cleanup Package-Manager: portage-2.2.26_p25 --- net-misc/openconnect/openconnect-9999.ebuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'net-misc/openconnect') diff --git a/net-misc/openconnect/openconnect-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild index 08beef389d47..9515779f7f30 100644 --- a/net-misc/openconnect/openconnect-9999.ebuild +++ b/net-misc/openconnect/openconnect-9999.ebuild @@ -7,7 +7,9 @@ EAPI=5 PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE="xml" -if [[ "${PV}" = "9999" ]]; then +inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo + +if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="git://git.infradead.org/users/dwmw2/${PN}.git" inherit git-r3 autotools else @@ -18,8 +20,6 @@ VPNC_VER=20140806 SRC_URI="${ARCHIVE_URI} ftp://ftp.infradead.org/pub/vpnc-scripts/vpnc-scripts-${VPNC_VER}.tar.gz" -inherit eutils java-pkg-opt-2 linux-info python-any-r1 readme.gentoo - DESCRIPTION="Free client for Cisco AnyConnect SSL VPN software" HOMEPAGE="http://www.infradead.org/openconnect.html" @@ -69,16 +69,17 @@ pkg_setup() { } src_unpack() { - if [[ ${PV} = 9999 ]]; then + if [[ ${PV} == 9999 ]]; then git-r3_src_unpack fi unpack ${A} } src_prepare() { - if [[ "${PV}" = 9999 ]]; then + if [[ ${PV} == 9999 ]]; then eautoreconf fi + epatch_user } src_configure() { -- cgit v1.2.3-65-gdbad