# Maintainer: Knut Ahlers pkgname=dust pkgver=0.4.1 pkgrel=2 pkgdesc="du + rust = dust. Like du but more intuitive" url="https://github.com/bootandy/dust" makedepends=('cargo') arch=('i686' 'x86_64') license=('Apache') source=("$pkgname-$pkgver.tar.gz::https://github.com/bootandy/$pkgname/archive/v$pkgver.tar.gz") sha512sums=('3a867451c23b9acf409acc83c7ea4c85864aae47405aa23f2a520e246b1162cc2eb0e69d051ac1650e8c68c92ef1b6394c25f491a890c7175a76d5bbe1e36301') build() { cd "$pkgname-$pkgver" cargo build --release --target-dir "./target" } package() { cd "$pkgname-$pkgver" install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname" install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } # vim:set ts=2 sw=2 et: