From fe4661299b7410994932cf77c1e850ee990c9d75 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 25 Jul 2016 11:35:10 -0500 Subject: 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(-) (limited to 'app-accessibility/espeakup') diff --git a/app-accessibility/espeakup/espeakup-9999.ebuild b/app-accessibility/espeakup/espeakup-9999.ebuild index 713e99083c2d..c50eee21a251 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 } -- cgit v1.2.3