mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 11:33:15 -04:00
dev-vcs/git-extras: new package
Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Petrus Zhao <petrus.zy.07@gmail.com>
This commit is contained in:
1
dev-vcs/git-extras/Manifest
Normal file
1
dev-vcs/git-extras/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST git-extras-5.1.0.tar.gz 147104 BLAKE2B 279f0476c2ec6f30531d77d5c348bc6c0a823a622f7ec96ae65b1b2861a7c3ab1bf66eb246d031d0cfb4e1cc5fd3c2bfbf1418bc619dc3b81c6f0d7ffdcccd0a SHA512 c9409444339b1f4cb1ab6cc6dba48facbf9b8ba1f253567749ab84a2c3be39bc6720467f3064de4b4e44083a4cafda6d470dbaf5652515c4cb6fa8b2d691b2dc
|
||||
1
dev-vcs/git-extras/git-extras-5.1.0.ebuild
Symbolic link
1
dev-vcs/git-extras/git-extras-5.1.0.ebuild
Symbolic link
@@ -0,0 +1 @@
|
||||
git-extras-9999.ebuild
|
||||
36
dev-vcs/git-extras/git-extras-9999.ebuild
Normal file
36
dev-vcs/git-extras/git-extras-9999.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="Little git extras."
|
||||
HOMEPAGE="https://github.com/tj/git-extras"
|
||||
|
||||
if [[ $PV == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="${HOMEPAGE}"
|
||||
else
|
||||
SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-vcs/git"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
emake install PREFIX="${EPREIFX}"/usr SYSCONFDIR="${EPREFIX}"/etc DESTDIR="${D}"
|
||||
|
||||
rm -rf "${D}"/etc/bash_completion.d
|
||||
|
||||
newbashcomp etc/bash_completion.sh ${PN}
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins etc/git-extras-completion.zsh _${PN}
|
||||
|
||||
}
|
||||
11
dev-vcs/git-extras/metadata.xml
Normal file
11
dev-vcs/git-extras/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>petrus.zy.07@gmail.com</email>
|
||||
<name>Petrus Zhao</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">tj/git-extras</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user