diff-so-fancy: initial import, version 1.4.3

This commit is contained in:
Matt Housh 2022-01-14 00:18:58 -06:00
parent c614c02227
commit 6f3aede17f
3 changed files with 29 additions and 0 deletions

6
diff-so-fancy/.footprint Normal file
View File

@ -0,0 +1,6 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/diff-so-fancy
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/diff-so-fancy/
-rw-r--r-- root/root usr/share/diff-so-fancy/DiffHighlight.pm

5
diff-so-fancy/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF34wqOQRIH8mJABkSVXHKr0BfLOjlqdUKP5RennInx34loKFMUaNkdynoQVxi9A7hrOP1p8fyGhe0eqme3fPvcg8=
SHA256 (Pkgfile) = 76e3b52e9d93d9dae0dca5a52700e095a36cd9c23583fa4e0ebcc3c819bce7e3
SHA256 (.footprint) = 6263da4a7d042dfd5ee76b60dbd56de03c23eeb0bf7e911ac05320a1f0d9610d
SHA256 (diff-so-fancy-1.4.3.tar.gz) = 2b88a1d1cc3bd63a0120c668125019aa5b65ad5c235c49d81431c5d89a86b137

18
diff-so-fancy/Pkgfile Normal file
View File

@ -0,0 +1,18 @@
# 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
# URL: https://github.com/so-fancy/diff-so-fancy
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: perl
name=diff-so-fancy
version=1.4.3
release=1
source=(https://github.com/so-fancy/$name/archive/refs/tags/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
install -o root -g root -m 0755 -D $name $PKG/usr/bin/$name
install -o root -g root -m 0644 -D lib/DiffHighlight.pm \
$PKG/usr/share/diff-so-fancy/DiffHighlight.pm
sed -i -e 's,^\(use lib\) .*$,\1 "/usr/share/diff-so-fancy";,' \
$PKG/usr/bin/$name
}