2020-10-24 05:41:54 +02:00
|
|
|
# Maintainer: Alad Wenter <https://github.com/AladW>
|
2022-02-01 10:59:26 +01:00
|
|
|
# Co-Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
|
2016-03-26 20:17:11 +01:00
|
|
|
pkgname=aurutils
|
2022-04-14 20:35:29 +02:00
|
|
|
pkgver=9.6
|
2022-04-28 17:21:37 +02:00
|
|
|
pkgrel=3
|
2016-04-01 04:57:05 +02:00
|
|
|
pkgdesc='helper tools for the arch user repository'
|
2017-09-07 15:56:05 +02:00
|
|
|
url='https://github.com/AladW/aurutils'
|
2019-01-10 17:21:24 +01:00
|
|
|
arch=('any')
|
2017-09-10 19:56:46 +02:00
|
|
|
license=('custom:ISC')
|
2022-04-28 17:21:37 +02:00
|
|
|
_backports=("0001-sync-tsort-exit.patch"
|
|
|
|
"0002-sync-filter-deps.patch"
|
|
|
|
"0003-fetch-git-checkout.patch")
|
2022-04-28 15:28:17 +02:00
|
|
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz"
|
|
|
|
"${_backports[@]}")
|
2020-10-29 18:25:53 +01:00
|
|
|
changelog=aurutils.changelog
|
2021-01-04 21:31:07 +01:00
|
|
|
install=aurutils.install
|
2022-04-28 15:28:17 +02:00
|
|
|
sha256sums=('825d6ab3d66faf84ee3856e677de138dcdb3af2a5c38164f69601ee0a4e96954'
|
|
|
|
'2f0e039c6544dc2204dbb25f15f2c3fcefbc742a196fedb60925b7dc3311665e'
|
2022-04-28 17:21:37 +02:00
|
|
|
'a65dace12d686d8a77380af9875af5633c2fd12e6c6ed8802a202e22861b77c0'
|
2022-04-28 15:28:17 +02:00
|
|
|
'cca4ea1456d1cd8cde333d7e60c0749c9bc2c78b4f4b3eda751432cc3555aa65')
|
2021-12-01 13:26:37 +01:00
|
|
|
depends=('git' 'jq' 'pacutils' 'curl' 'expect')
|
2019-01-10 17:21:24 +01:00
|
|
|
optdepends=('bash-completion: bash completion'
|
2020-10-29 18:25:53 +01:00
|
|
|
'zsh: zsh completion'
|
2019-01-10 17:21:24 +01:00
|
|
|
'devtools: aur-chroot'
|
2022-02-24 12:50:14 +01:00
|
|
|
'vifm: default pager'
|
|
|
|
'ninja: aur-sync ninja support')
|
2020-10-24 05:41:54 +02:00
|
|
|
|
2021-12-07 17:04:09 +01:00
|
|
|
prepare() {
|
|
|
|
cd "$pkgname-$pkgver"
|
2022-04-28 15:28:17 +02:00
|
|
|
for _b in "${_backports[@]}"; do
|
2022-04-28 17:21:37 +02:00
|
|
|
patch -p1 < "$srcdir/$_b"
|
2022-04-28 15:28:17 +02:00
|
|
|
done
|
2021-12-07 17:04:09 +01:00
|
|
|
}
|
|
|
|
|
2019-01-10 17:21:24 +01:00
|
|
|
build() {
|
2020-11-03 17:05:41 +01:00
|
|
|
cd "$pkgname-$pkgver"
|
2021-12-08 19:50:53 +01:00
|
|
|
make AURUTILS_VERSION="$pkgver"
|
2017-10-06 23:15:25 +02:00
|
|
|
}
|
|
|
|
|
2016-03-26 20:17:11 +01:00
|
|
|
package() {
|
2020-11-03 17:05:41 +01:00
|
|
|
cd "$pkgname-$pkgver"
|
2019-01-10 17:21:24 +01:00
|
|
|
make DESTDIR="$pkgdir" install
|
2016-03-26 20:17:11 +01:00
|
|
|
}
|