pkgname=fif pkgver=0.2.11 pkgrel=1 pkgdesc="A command-line tool for detecting and optionally correcting files with incorrect extensions." # tier 1 rust linux targets arch=('x86_64' 'i686' 'aarch64') url="https://git.bune.city/lynnesbian/fif" license=('GPLv3+') depends=('shared-mime-info') source=("$pkgname-$pkgver.tar.gz::https://git.bune.city/lynnesbian/$pkgname/archive/v${pkgver}.tar.gz") sha256sums=("fd2b3133fabf8ad1993c6d16a9bf1ad645b1eff8fd30a4a9227ef5a157f56183") build() { cd "$pkgname" cargo build --release --locked } check() { cd "$pkgname" cargo build --release --locked } package() { cd "$pkgname" install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin" }