diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-03-01 00:37:58 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-03-01 00:37:58 +0000 |
| commit | 8ddb1a3d1229412a438971f82d37d518a0223726 (patch) | |
| tree | 83438b5ddb9d23a390f1a3fc505303d3d2223bf2 /dev-vcs/git-extras/git-extras-9999.ebuild | |
| parent | 9acab46e1a820daece7b2e631485c157ce2210ad (diff) | |
| download | baldeagleos-repo-21.1.5.tar.gz baldeagleos-repo-21.1.5.tar.xz baldeagleos-repo-21.1.5.zip | |
Adding metadatav21.1.5
Diffstat (limited to 'dev-vcs/git-extras/git-extras-9999.ebuild')
| -rw-r--r-- | dev-vcs/git-extras/git-extras-9999.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-vcs/git-extras/git-extras-9999.ebuild b/dev-vcs/git-extras/git-extras-9999.ebuild new file mode 100644 index 000000000000..6946fc65e6aa --- /dev/null +++ b/dev-vcs/git-extras/git-extras-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="GIT utilities -- repo summary, repl, changelog population, author commit percentages and more" +HOMEPAGE="https://github.com/tj/git-extras" + +if [ ${PV} = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/tj/git-extras.git" +else + SRC_URI="https://github.com/tj/git-extras/archive/${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="zsh-completion" + +RDEPEND=" + dev-vcs/git +" + +DEPEND=" + ${RDEPEND} + zsh-completion? ( app-shells/zsh ) +" + +src_compile() { + # ebuild will attempt to run make without the install command + # so just bypass this step. + true +} + +src_install() { + emake DESTDIR="${D}" \ + PREFIX=/usr \ + MANPREFIX=/usr/share/man/man1 \ + SYSCONFDIR=/etc \ + install + + if use zsh-completion; then + insinto /usr/share/zsh/site-functions + doins etc/git-extras-completion.zsh + fi +} |
