mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-09 12:47:05 +02:00
33 lines
817 B
Text
33 lines
817 B
Text
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=difftastic
|
|
pkgver=0.63.0
|
|
pkgrel=0
|
|
pkgdesc="Diff tool that understands syntax"
|
|
url="https://difftastic.wilfred.me.uk/"
|
|
license="MIT"
|
|
arch="all"
|
|
makedepends="cargo openssl-dev cargo-auditable"
|
|
options="net"
|
|
source="https://github.com/Wilfred/difftastic/archive/$pkgver/difftastic-$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
cargo fetch --target="$CTARGET" --locked
|
|
}
|
|
|
|
build() {
|
|
cargo auditable build --frozen --release
|
|
}
|
|
|
|
check() {
|
|
cargo test --frozen
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 target/release/difft -t "$pkgdir"/usr/bin/
|
|
}
|
|
|
|
sha512sums="
|
|
2781b19b2177fe63be8719a9ba0cc1d3c207ca81a1cbc2e5a2682eea7b96ea5da3d9c4a48c28ed872229bf3169a5415ac573e817ab096853e04d593a36651813 difftastic-0.63.0.tar.gz
|
|
"
|