1 # Maintainer: Orhun Parmaksız <orhun@archlinux.org>
2 # Maintainer: George Rawlinson <grawlinson@archlinux.org>
7 pkgdesc='Rust task runner and build tool'
9 url='https://github.com/sagiegurari/cargo-make'
11 depends=('gcc-libs' 'openssl' 'bzip2')
13 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
14 sha256sums=('acc3dabd6a30de8e5294bf002f6722d8efd51237dbf3a8f89696b81e26a6104e')
20 # download dependencies
21 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
27 cargo build --release --frozen
34 install -vDm755 -t "$pkgdir/usr/bin" target/release/{cargo-make,makers}
37 install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
40 install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md
42 # shell auto-completion
43 install -vDm644 extra/shell/makers-completion.bash "$pkgdir/usr/share/bash-completion/completions/makers"
46 # vim:set ts=2 sw=2 et: