Skip to content

Commit

Permalink
New recipe: diff-so-fancy
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal Abresch committed Feb 23, 2023
1 parent 3650d63 commit 02d21b6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions app-misc/diff-so-fancy/diff_so_fancy-1.4.3.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
SUMMARY="Pretty diff generator"
DESCRIPTION="diff-so-fancy strives to make your diffs human readable instead of machine readable. \
This helps improve code quality and helps you spot defects faster.
Configure git to use diff-so-fancy for all diff output:
git config --global core.pager \"diff-so-fancy | less --tabs=4 -RFX\"
git config --global interactive.diffFilter \"diff-so-fancy --patch\""
HOMEPAGE="https://github.com/so-fancy/diff-so-fancy"
COPYRIGHT="2016 So Fancy team"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/so-fancy/diff-so-fancy/releases/download/v$portVersion/diff-so-fancy#noarchive"
CHECKSUM_SHA256="de90659705436cf17d9a8aaad7012c9ed82d7f16eadf1ecee3d6badb0717b73f"

DISABLE_SOURCE_PACKAGE="yes"

ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="?x86"

PROVIDES="
diff_so_fancy = $portVersion
cmd:diff_so_fancy
"

REQUIRES="
haiku
cmd:perl
"

INSTALL()
{
mkdir -p $binDir
cp diff-so-fancy $binDir
chmod o+x $binDir/diff-so-fancy
}

0 comments on commit 02d21b6

Please sign in to comment.