1 # Maintainer: kpcyrd <git@rxv.cc>
2 # Contributor: Vlad M. <vlad@archlinux.net>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
8 pkgdesc="Cargo subcommand that visualizes a crate's dependency graph in a tree-like format"
9 url="https://github.com/sfackler/cargo-tree"
13 license=('MIT' 'APACHE')
14 source=("https://github.com/sfackler/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
15 sha256sums=('43ca97189f5ce5e527eefaa25219ac18d42f46270fd376a9c7b7b33aa0db634f')
18 cd "${pkgname}-${pkgver}"
19 cargo build --release --locked
22 # upstream doesn't have tests
25 cd "${pkgname}-${pkgver}"
26 install -Dm755 "target/release/${pkgname}" -t "${pkgdir}/usr/bin"
27 install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
28 install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
31 # vim:set ts=2 sw=2 et: