diff options
author | William Hubbs <williamh@gentoo.org> | 2016-07-25 11:35:10 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2016-07-25 11:43:27 -0500 |
commit | fe4661299b7410994932cf77c1e850ee990c9d75 (patch) | |
tree | 0d68357cad084704cc27a61c35c801da159a7de5 /app-accessibility | |
parent | media-libs/libsdl2: keyword ~ppc (diff) | |
download | gentoo-fe4661299b7410994932cf77c1e850ee990c9d75.tar.gz gentoo-fe4661299b7410994932cf77c1e850ee990c9d75.tar.bz2 gentoo-fe4661299b7410994932cf77c1e850ee990c9d75.zip |
app-accessibility/espeakup: migrate live ebuild to eapi 6
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-accessibility')
-rw-r--r-- | app-accessibility/espeakup/espeakup-9999.ebuild | 18 |
1 files changed, 8 insertions, 10 deletions
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 } |