# Maintainer: Benjamin Levy pkgname=unf pkgver=1.1.0 pkgrel=1 makedepends=('rust' 'cargo') arch=('i686' 'x86_64' 'armv6h' 'armv7h') pkgdesc="UNixize Filename -- replace annoying anti-unix characters in filenames" license=('MIT') url="https://github.com/io12/unf" source=("https://github.com/io12/${pkgname}/archive/${pkgver}.tar.gz") md5sums=('e15354083773780ca719bccfbf0fb193') build() { cd "${srcdir}/${pkgname}-${pkgver}" cargo build --release --locked } check() { cd "${srcdir}/${pkgname}-${pkgver}" cargo test --release --locked } package() { cd "${srcdir}/${pkgname}-${pkgver}" install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin" }