commit:     fe4661299b7410994932cf77c1e850ee990c9d75
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 25 16:35:10 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jul 25 16:43:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe466129

app-accessibility/espeakup:  migrate live ebuild to eapi 6

Package-Manager: portage-2.2.28

 app-accessibility/espeakup/espeakup-9999.ebuild | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/app-accessibility/espeakup/espeakup-9999.ebuild 
b/app-accessibility/espeakup/espeakup-9999.ebuild
index 713e990..c50eee2 100644
--- a/app-accessibility/espeakup/espeakup-9999.ebuild
+++ b/app-accessibility/espeakup/espeakup-9999.ebuild
@@ -2,17 +2,19 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="git://github.com/williamh/espeakup.git"
-       vcs=git-2
+       inherit git-r3
 else
-       SRC_URI=""
+       EGIT_COMMIT=v${PV}
+       
SRC_URI="https://github.com/williamh/espeakup/archive/${EGIT_COMMIT}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~x86"
+       inherit vcs-snapshot
 fi
 
-inherit $vcs linux-info
+inherit linux-info
 
 DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup"
 HOMEPAGE="https://github.com/williamh/espeakup";
@@ -42,13 +44,9 @@ pkg_setup() {
        fi
 }
 
-src_compile() {
-       emake || die "Compile failed."
-}
-
 src_install() {
-       emake DESTDIR="${D}" PREFIX=/usr install || die "Install failed."
-       dodoc README ToDo
+       emake DESTDIR="${D}" PREFIX=/usr install
+       einstalldocs
        newconfd "${FILESDIR}"/espeakup.confd espeakup
        newinitd "${FILESDIR}"/espeakup.rc espeakup
 }

Reply via email to