diff options
author | Tim Biermann <tbier@posteo.de> | 2020-11-19 08:32:15 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-11-19 09:31:25 +0000 |
commit | e02b4c6d630a2a1f1c25de0f656657e3236cd962 (patch) | |
tree | fcc0d4f957df6f0633524b537bd53002469c565e /delta | |
parent | 224dfebd7052593379645e40e4881821c69fd60c (diff) | |
download | contrib-e02b4c6d630a2a1f1c25de0f656657e3236cd962.tar.gz contrib-e02b4c6d630a2a1f1c25de0f656657e3236cd962.tar.xz |
delta: initial commit, version 0.4.4
Diffstat (limited to 'delta')
-rw-r--r-- | delta/.footprint | 3 | ||||
-rw-r--r-- | delta/.signature | 5 | ||||
-rw-r--r-- | delta/Pkgfile | 21 |
3 files changed, 29 insertions, 0 deletions
diff --git a/delta/.footprint b/delta/.footprint new file mode 100644 index 000000000..64c7320a0 --- /dev/null +++ b/delta/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/delta diff --git a/delta/.signature b/delta/.signature new file mode 100644 index 000000000..8f3929115 --- /dev/null +++ b/delta/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF38TkQwuiHcRrj89RLHuacKaY9EeAaXGZD9PPChWcFNRXaywQGR5ZfSF+FPwKodx6aVCO4wiu947KToIpJnIvSwY= +SHA256 (Pkgfile) = bbfe669dc443423c4376df31520f93e3aad0bf07c7eee33611f245aed899f6d5 +SHA256 (.footprint) = e4db9cceee1c1464b8c8f43b6b2129519b473b85c04c71cd7d667d8960e41396 +SHA256 (delta-0.4.4.tar.gz) = 4068cb88a4110bbef24b8148e3ae283ff007f4f6aa4780789cda7a412928daa0 diff --git a/delta/Pkgfile b/delta/Pkgfile new file mode 100644 index 000000000..838900451 --- /dev/null +++ b/delta/Pkgfile @@ -0,0 +1,21 @@ +# Description: A viewer for git and diff output +# URL: https://github.com/dandavison/delta +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: rust + +name=delta +version=0.4.4 +release=1 +source=(https://github.com/dandavison/delta/archive/$version/$name-$version.tar.gz) + +build() { + cd $name-$version + prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache + mkdir "$PKGMK_SOURCE_DIR/rust" || true + export CARGO_HOME="$PKGMK_SOURCE_DIR/rust" + + cargo update + cargo fetch + cargo build --release --locked + install -Dt $PKG/usr/bin target/release/delta +} |