makedeb
Find unused dependencies in Cargo.toml
Viewing /PKGBUILD
.
Click here to go back to the Git tree for cargo-udeps.
# Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
pkgname=cargo-udeps
pkgver=0.1.42
pkgrel=1
pkgdesc='Find unused dependencies in Cargo.toml'
arch=('any')
makedepends=('cargo')
url='https://github.com/est31/cargo-udeps'
license=('MIT' 'Apache-2.0')
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('b89c4ba44112a5b9d544bc8555a69f2fa24f44a0a389035cd38f19827a262e78')
build() {
cd "${pkgname}-${pkgver}/"
cargo build --release --features vendored-openssl,vendored-libgit2
}
package() {
cd "${pkgname}-${pkgver}/"
install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}
# vim: set sw=4 expandtab: