pkgname=aurutils pkgver=1.3.1 pkgrel=1 pkgdesc='helper tools for the arch user repository' arch=('any') url=https://github.com/AladW/aurutils license=('ISC') source=("$url/archive/$pkgver.tar.gz") sha256sums=('406c69e3a871af9e91885b89a4a76ea65d8a641704204807c2e29fe66b8a7ae6') depends=('pacman>=5' 'expac>=7' 'aria2>=1.23' 'git' 'jshon' 'repose' 'pacutils') checkdepends=('shellcheck') makedepends=('git') optdepends=('devtools: build in an nspawn container' 'vifm: improved build file interaction' 'datamash: check tsort input') check() { cd "$pkgname-$pkgver" make check } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" PREFIX="/usr" install }