2020-10-24 05:41:54 +02:00
|
|
|
# Maintainer: Alad Wenter <https://github.com/AladW>
|
2016-03-26 20:17:11 +01:00
|
|
|
pkgname=aurutils
|
2021-12-06 23:30:26 +01:00
|
|
|
pkgver=3.2.2
|
2021-12-07 17:04:09 +01: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')
|
2021-12-07 17:04:09 +01:00
|
|
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz"
|
|
|
|
"aur-view-arg-file.patch::$url/commit/aa2cb0aadbe26bbecd5cc5c1a180f6ddb2edd1ab.patch")
|
2020-10-29 18:25:53 +01:00
|
|
|
changelog=aurutils.changelog
|
2021-01-04 21:31:07 +01:00
|
|
|
install=aurutils.install
|
2021-12-07 17:04:09 +01:00
|
|
|
sha256sums=('6bbc6949d27b1132828aa3e68ad2252d8125365c9b7bec6c587fd15bf3081f72'
|
|
|
|
'531048b96cf9217bb3c5f6eebc922a0ebfe262a26ff3f0dcfb5cdb59d66f974c')
|
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'
|
2020-10-29 18:25:53 +01:00
|
|
|
'vifm: default pager')
|
2020-10-24 05:41:54 +02:00
|
|
|
|
2021-12-07 17:04:09 +01:00
|
|
|
prepare() {
|
|
|
|
cd "$pkgname-$pkgver"
|
|
|
|
patch -p1 < "$srcdir"/aur-view-arg-file.patch # issue 871
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|