dev-vcs/topgit: bump to EAPI 6, add maintainer-needed
authorAustin English <wizardedit@gentoo.org>
Fri, 8 Jul 2016 17:15:55 +0000 (12:15 -0500)
committerAustin English <wizardedit@gentoo.org>
Fri, 8 Jul 2016 17:57:42 +0000 (12:57 -0500)
Package-Manager: portage-2.2.28

dev-vcs/topgit/metadata.xml
dev-vcs/topgit/topgit-0.9-r1.ebuild [new file with mode: 0644]

index ad17ee0507f9e9ca21dd5a1f6e735af8bf101372..a4bff25eb3751c911d0f7b5d9a589ace3b57609d 100644 (file)
@@ -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 (file)
index 0000000..17c8521
--- /dev/null
@@ -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
+}