# Maintainer: Sanpi pkgname=cargo-spellcheck pkgver=0.4.5 pkgrel=1 pkgdesc="Checks all your documentation for spelling mistakes" url="https://github.com/drahnr/$pkgname" arch=("x86_64") license=("MIT" "Apache") depends=("cargo" "hunspell") source=("$pkgver.tar.gz::https://crates.io/api/v1/crates/$pkgname/$pkgver/download") sha256sums=('6960c503f1eb64465cdd09daf1c181b13782dfe4718e38ce1642814fce670c84') build() { cd "$srcdir/$pkgname-$pkgver" cargo build --release } package() { cd "$srcdir/$pkgname-$pkgver" install -Dm 755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname" }