commit:     2c457f36dec3a9a52cbf19f7c0891febdd459d9a
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  8 17:15:55 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Jul  8 17:57:42 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c457f36

dev-vcs/topgit: bump to EAPI 6, add maintainer-needed

Package-Manager: portage-2.2.28

 dev-vcs/topgit/metadata.xml         |  1 +
 dev-vcs/topgit/topgit-0.9-r1.ebuild | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/dev-vcs/topgit/metadata.xml b/dev-vcs/topgit/metadata.xml
index ad17ee0..a4bff25 100644
--- a/dev-vcs/topgit/metadata.xml
+++ b/dev-vcs/topgit/metadata.xml
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
+       <!-- maintainer-needed -->
        <upstream>
                <remote-id type="github">greenrd/topgit</remote-id>
        </upstream>

diff --git a/dev-vcs/topgit/topgit-0.9-r1.ebuild 
b/dev-vcs/topgit/topgit-0.9-r1.ebuild
new file mode 100644
index 0000000..17c8521
--- /dev/null
+++ b/dev-vcs/topgit/topgit-0.9-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit bash-completion-r1
+
+DESCRIPTION="A different patch queue manager"
+HOMEPAGE="https://github.com/greenrd/topgit";
+SRC_URI="https://github.com/greenrd/${PN}/archive/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-apps/sed
+       virtual/awk"
+RDEPEND="dev-vcs/git"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_compile() {
+       # Needed because of "hardcoded" paths
+       emake prefix="/usr" sharedir="/usr/share/doc/${PF}"
+}
+
+src_install() {
+       emake prefix="${D}/usr" sharedir="${D}/usr/share/doc/${PF}" install
+
+       newbashcomp contrib/tg-completion.bash tg
+       dodoc README
+}

Reply via email to