aurutils: fix problems with aur-sync and AUR_PAGER

This commit is contained in:
Alad Wenter 2021-12-07 17:04:09 +01:00
parent 02ce2a90d9
commit 9158e1147c
2 changed files with 13 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = aurutils
pkgdesc = helper tools for the arch user repository
pkgver = 3.2.2
pkgrel = 2
pkgrel = 3
url = https://github.com/AladW/aurutils
install = aurutils.install
changelog = aurutils.changelog
@ -17,6 +17,8 @@ pkgbase = aurutils
optdepends = devtools: aur-chroot
optdepends = vifm: default pager
source = aurutils-3.2.2.tar.gz::https://github.com/AladW/aurutils/archive/refs/tags/3.2.2.tar.gz
source = aur-view-arg-file.patch::https://github.com/AladW/aurutils/commit/aa2cb0aadbe26bbecd5cc5c1a180f6ddb2edd1ab.patch
sha256sums = 6bbc6949d27b1132828aa3e68ad2252d8125365c9b7bec6c587fd15bf3081f72
sha256sums = 531048b96cf9217bb3c5f6eebc922a0ebfe262a26ff3f0dcfb5cdb59d66f974c
pkgname = aurutils

View file

@ -1,21 +1,28 @@
# Maintainer: Alad Wenter <https://github.com/AladW>
pkgname=aurutils
pkgver=3.2.2
pkgrel=2
pkgrel=3
pkgdesc='helper tools for the arch user repository'
url='https://github.com/AladW/aurutils'
arch=('any')
license=('custom:ISC')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz"
"aur-view-arg-file.patch::$url/commit/aa2cb0aadbe26bbecd5cc5c1a180f6ddb2edd1ab.patch")
changelog=aurutils.changelog
install=aurutils.install
sha256sums=('6bbc6949d27b1132828aa3e68ad2252d8125365c9b7bec6c587fd15bf3081f72')
sha256sums=('6bbc6949d27b1132828aa3e68ad2252d8125365c9b7bec6c587fd15bf3081f72'
'531048b96cf9217bb3c5f6eebc922a0ebfe262a26ff3f0dcfb5cdb59d66f974c')
depends=('git' 'jq' 'pacutils' 'curl' 'expect')
optdepends=('bash-completion: bash completion'
'zsh: zsh completion'
'devtools: aur-chroot'
'vifm: default pager')
prepare() {
cd "$pkgname-$pkgver"
patch -p1 < "$srcdir"/aur-view-arg-file.patch # issue 871
}
build() {
cd "$pkgname-$pkgver"
make