1
0
forked from ports/contrib

delta: initial commit, version 0.4.4

This commit is contained in:
Tim Biermann 2020-11-19 08:32:15 +00:00
parent 224dfebd70
commit e02b4c6d63
3 changed files with 29 additions and 0 deletions

3
delta/.footprint Normal file
View File

@ -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

5
delta/.signature Normal file
View File

@ -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

21
delta/Pkgfile Normal file
View File

@ -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
}