1 # Maintainer: Orhun Parmaksız <orhun@archlinux.org>
2 # Contributor: KokaKiwi <kokakiwi+aur at kokakiwi dot net>
4 pkgname=cargo-semver-checks
7 pkgdesc='Scan your Rust crate for semver violations'
8 url='https://github.com/obi1kenobi/cargo-semver-checks'
9 license=('Apache' 'MIT')
11 depends=('gcc-libs' 'glibc' 'libgit2' 'openssl' 'zlib')
12 makedepends=('cargo' 'git')
13 _commit='719902274d1e695cca4055ba533b686645f5faa6'
14 source=("$pkgname::git+$url.git#commit=$_commit")
20 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
25 cargo build --release --frozen
31 ./scripts/regenerate_test_rustdocs.sh
37 install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
38 install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
39 install -Dm 644 LICENSE-MIT -t "$pkgdir/usr/share/licenses/$pkgname"
42 # vim:set ts=2 sw=2 et: