1 # Maintainer: Orhun Parmaksız <orhun@archlinux.org>
2 # Contributor: Sematre <sematre at gmx dot de>
7 pkgdesc="Cargo subcommand that generates Debian packages"
9 url="https://github.com/kornelski/cargo-deb"
13 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
14 sha256sums=('ed2d35ae4fedab28498d5eb3490485df9fdd6209d59f6ac575cf78261e18d16f')
18 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
23 cargo build --release --frozen
29 cargo test --frozen -- --skip "dependencies::resolve_test"
34 install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
35 install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
36 install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
39 # vim:set ts=2 sw=2 et: