ports/contrib (3.7): diff-so-fancy: initial import, version 1.4.3
commit 6f3aede17fc6b0eb27d069a599085e2419ba980a Author: Matt Housh <jaeger@crux.ninja> Date: Fri Jan 14 00:18:58 2022 -0600 diff-so-fancy: initial import, version 1.4.3 diff --git a/diff-so-fancy/.footprint b/diff-so-fancy/.footprint new file mode 100644 index 000000000..41e91a2f3 --- /dev/null +++ b/diff-so-fancy/.footprint @@ -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 diff --git a/diff-so-fancy/.signature b/diff-so-fancy/.signature new file mode 100644 index 000000000..86c770abf --- /dev/null +++ b/diff-so-fancy/.signature @@ -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 diff --git a/diff-so-fancy/Pkgfile b/diff-so-fancy/Pkgfile new file mode 100644 index 000000000..961b1ee86 --- /dev/null +++ b/diff-so-fancy/Pkgfile @@ -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...) + +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 +}
participants (1)
-
crux@crux.nu