summaryrefslogtreecommitdiff
path: root/delta
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2020-12-31 11:12:33 +0000
committerTim Biermann <tbier@posteo.de>2020-12-31 11:12:33 +0000
commit5b9caa575555079bdc9919a2a725eb9e0bd1f121 (patch)
tree4fe1117c0d9201ef2a963876a6a47d6bf2088f75 /delta
parent22b901824b24f764e2d511155f629eb8d1bb737d (diff)
downloadcontrib-5b9caa575555079bdc9919a2a725eb9e0bd1f121.tar.gz
contrib-5b9caa575555079bdc9919a2a725eb9e0bd1f121.tar.xz
delta: 0.4.5 -> 0.5.0
Diffstat (limited to 'delta')
-rw-r--r--delta/.signature6
-rw-r--r--delta/Pkgfile12
2 files changed, 14 insertions, 4 deletions
diff --git a/delta/.signature b/delta/.signature
index 5a1f4e80a..f982ee11e 100644
--- a/delta/.signature
+++ b/delta/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF36LU1lKpy/vwbqe09WnGWViPyZh+zCItx6joI1IhV3cKbQblb45iYsl1/zvnPsNcUqIyLr2KV0Es4mt5KFUPggs=
-SHA256 (Pkgfile) = 04b5871d31034cc6377886c33100a8d962142f525745e80859b612e608aadf45
+RWSagIOpLGJF37VkEDULmPk9ofZlS6zj7rs6xuUrOmOQWUX3wTpzruOXIv3YUx6CytHNqeCGdPVsvb3UwwXUNRBlqExHhN+c2AM=
+SHA256 (Pkgfile) = 3659b5d8edceb4e21140122cef8714a6cdbbab276aba7ff42b2a5580beece093
SHA256 (.footprint) = e4db9cceee1c1464b8c8f43b6b2129519b473b85c04c71cd7d667d8960e41396
-SHA256 (delta-0.4.5.tar.gz) = e19ab2d6a7977a3aa939a2d70b6d007aad8b494a901d47a3e0c2357eedad0c80
+SHA256 (delta-0.5.0.tar.gz) = aef2ef9e4260eabb7a04f36f0485c9b041029a7da1d69d9e6eabb03a7466ab26
diff --git a/delta/Pkgfile b/delta/Pkgfile
index 71ab1dfe6..1a7dffe8e 100644
--- a/delta/Pkgfile
+++ b/delta/Pkgfile
@@ -4,7 +4,7 @@
# Depends on: rust
name=delta
-version=0.4.5
+version=0.5.0
release=1
source=(https://github.com/dandavison/delta/archive/$version/$name-$version.tar.gz)
@@ -18,4 +18,14 @@ build() {
cargo fetch
cargo build --release --locked
install -Dt $PKG/usr/bin target/release/delta
+
+ # install auto-completion files if the ports for it are installed
+ if [ -e /usr/share/zsh ]; then
+ install -Dm644 etc/completion/completion.zsh \
+ $PKG/usr/share/zsh/site-functions/_delta
+ fi
+ if [ -e /usr/lib/pkgconfig/bash-completion.pc ]; then
+ install -Dm644 etc/completion/completion.bash \
+ $PKG/usr/share/bash-completion/completions/delta
+ fi
}

Generated by cgit