aurutils: 9.6-2

This commit is contained in:
Alad Wenter 2022-04-28 15:28:17 +02:00
parent 60edc67461
commit c82ab16228
2 changed files with 20 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = aurutils pkgbase = aurutils
pkgdesc = helper tools for the arch user repository pkgdesc = helper tools for the arch user repository
pkgver = 9.6 pkgver = 9.6
pkgrel = 1 pkgrel = 2
url = https://github.com/AladW/aurutils url = https://github.com/AladW/aurutils
install = aurutils.install install = aurutils.install
changelog = aurutils.changelog changelog = aurutils.changelog
@ -18,6 +18,12 @@ pkgbase = aurutils
optdepends = vifm: default pager optdepends = vifm: default pager
optdepends = ninja: aur-sync ninja support optdepends = ninja: aur-sync ninja support
source = aurutils-9.6.tar.gz::https://github.com/AladW/aurutils/archive/refs/tags/9.6.tar.gz source = aurutils-9.6.tar.gz::https://github.com/AladW/aurutils/archive/refs/tags/9.6.tar.gz
source = 0001-sync-tsort-exit.patch::https://github.com/AladW/aurutils/commit/6f56ae7e4df06a0142d8970275986754041955c4.patch
source = 0002-sync-filter-deps.patch::https://github.com/AladW/aurutils/commit/3c818fccc3b431d7aea4198e82cd1ccda1e43e5c.patch
source = 0003-fetch-git-checkout.patch::https://github.com/AladW/aurutils/commit/c9e57188b5bb356b2373bc087474e2e68872505d.patch
sha256sums = 825d6ab3d66faf84ee3856e677de138dcdb3af2a5c38164f69601ee0a4e96954 sha256sums = 825d6ab3d66faf84ee3856e677de138dcdb3af2a5c38164f69601ee0a4e96954
sha256sums = 2f0e039c6544dc2204dbb25f15f2c3fcefbc742a196fedb60925b7dc3311665e
sha256sums = 695d1b77c67ac87304445b593a2d6b0600adf076d81ed007af3f1c26ea9a8539
sha256sums = cca4ea1456d1cd8cde333d7e60c0749c9bc2c78b4f4b3eda751432cc3555aa65
pkgname = aurutils pkgname = aurutils

View file

@ -2,15 +2,22 @@
# Co-Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr> # Co-Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
pkgname=aurutils pkgname=aurutils
pkgver=9.6 pkgver=9.6
pkgrel=1 pkgrel=2
pkgdesc='helper tools for the arch user repository' pkgdesc='helper tools for the arch user repository'
url='https://github.com/AladW/aurutils' url='https://github.com/AladW/aurutils'
arch=('any') arch=('any')
license=('custom:ISC') license=('custom:ISC')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz") _backports=("0001-sync-tsort-exit.patch::$url/commit/6f56ae7e4df06a0142d8970275986754041955c4.patch"
"0002-sync-filter-deps.patch::$url/commit/3c818fccc3b431d7aea4198e82cd1ccda1e43e5c.patch"
"0003-fetch-git-checkout.patch::$url/commit/c9e57188b5bb356b2373bc087474e2e68872505d.patch")
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz"
"${_backports[@]}")
changelog=aurutils.changelog changelog=aurutils.changelog
install=aurutils.install install=aurutils.install
sha256sums=('825d6ab3d66faf84ee3856e677de138dcdb3af2a5c38164f69601ee0a4e96954') sha256sums=('825d6ab3d66faf84ee3856e677de138dcdb3af2a5c38164f69601ee0a4e96954'
'2f0e039c6544dc2204dbb25f15f2c3fcefbc742a196fedb60925b7dc3311665e'
'695d1b77c67ac87304445b593a2d6b0600adf076d81ed007af3f1c26ea9a8539'
'cca4ea1456d1cd8cde333d7e60c0749c9bc2c78b4f4b3eda751432cc3555aa65')
depends=('git' 'jq' 'pacutils' 'curl' 'expect') depends=('git' 'jq' 'pacutils' 'curl' 'expect')
optdepends=('bash-completion: bash completion' optdepends=('bash-completion: bash completion'
'zsh: zsh completion' 'zsh: zsh completion'
@ -20,6 +27,9 @@ optdepends=('bash-completion: bash completion'
prepare() { prepare() {
cd "$pkgname-$pkgver" cd "$pkgname-$pkgver"
for _b in "${_backports[@]}"; do
git apply "$srcdir/${_b%%::*}"
done
} }
build() { build() {