# Maintainer: Alad Wenter # Co-Maintainer: Cedric Girard pkgname=aurutils pkgver=9.6 pkgrel=3 pkgdesc='helper tools for the arch user repository' url='https://github.com/AladW/aurutils' arch=('any') license=('custom:ISC') _backports=("0001-sync-tsort-exit.patch" "0002-sync-filter-deps.patch" "0003-fetch-git-checkout.patch") source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz" "${_backports[@]}") changelog=aurutils.changelog install=aurutils.install sha256sums=('825d6ab3d66faf84ee3856e677de138dcdb3af2a5c38164f69601ee0a4e96954' '2f0e039c6544dc2204dbb25f15f2c3fcefbc742a196fedb60925b7dc3311665e' 'a65dace12d686d8a77380af9875af5633c2fd12e6c6ed8802a202e22861b77c0' 'cca4ea1456d1cd8cde333d7e60c0749c9bc2c78b4f4b3eda751432cc3555aa65') depends=('git' 'jq' 'pacutils' 'curl' 'expect') optdepends=('bash-completion: bash completion' 'zsh: zsh completion' 'devtools: aur-chroot' 'vifm: default pager' 'ninja: aur-sync ninja support') prepare() { cd "$pkgname-$pkgver" for _b in "${_backports[@]}"; do patch -p1 < "$srcdir/$_b" done } build() { cd "$pkgname-$pkgver" make AURUTILS_VERSION="$pkgver" } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install }