Commit a5896d5c authored by Leo's avatar Leo

testing/delta: remove

parent 7c37d386
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=delta
pkgver=0.4.4
pkgrel=2
pkgdesc="viewer of git and diff output"
url="https://github.com/dandavison/delta"
arch="all !mips !mips64 !s390x" # cargo
license="MIT"
makedepends="cargo libgit2-dev oniguruma-dev"
subpackages="
$pkgname-bash-completion
$pkgname-zsh-completion
"
source="$pkgname-$pkgver.tar.gz::https://github.com/dandavison/delta/archive/$pkgver/$pkgver.tar.gz"
export RUSTONIG_DYNAMIC_LIBONIG=1
export LIBGIT2_SYS_USE_PKG_CONFIG=1
build() {
cargo build --release --locked
}
check() {
cargo test --release --locked
}
package() {
install -Dm0755 target/release/delta -t "$pkgdir"/usr/bin
install -Dm0644 etc/completion/completion.bash \
"$pkgdir"/usr/share/bash-completion/completions/delta
install -Dm0644 etc/completion/completion.zsh \
"$pkgdir"/usr/share/zsh/site-functions/_delta
}
sha512sums="1d42f87efef0ba065860fd2c3d2db3cfc1e97580b4bd031e91393a21479ab61d5c7afc99eb232eb16bf8db6853072b714027c720fd2d452be74e0ef0a5d1dc34 delta-0.4.4.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment