mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
app-misc/diff-so-fancy: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
36
app-misc/diff-so-fancy/diff-so-fancy-1.4.0.ebuild
Normal file
36
app-misc/diff-so-fancy/diff-so-fancy-1.4.0.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
SRC_URI="https://github.com/so-fancy/diff-so-fancy/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
DESCRIPTION="Good-lookin' diffs. Actually... nah... The best-lookin' diffs."
|
||||
HOMEPAGE="https://github.com/so-fancy/diff-so-fancy"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
#RESTRICT="!test? ( test )"
|
||||
RESTRICT="test" #investigate
|
||||
RDEPEND=""
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-lang/perl
|
||||
"
|
||||
BDEPEND="test? ( dev-util/bats )"
|
||||
PATCHES=( "${FILESDIR}/fix-path.patch" )
|
||||
DOCS=( README.md history.md pro-tips.md )
|
||||
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
|
||||
insinto "/usr/share/${PN}"
|
||||
doins lib/*
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
bats test || die
|
||||
}
|
||||
Reference in New Issue
Block a user