aurutils: 7
This commit is contained in:
parent
e0bb24d63f
commit
e2b09ff11b
3 changed files with 30 additions and 6 deletions
7
.SRCINFO
7
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = aurutils
|
pkgbase = aurutils
|
||||||
pkgdesc = helper tools for the arch user repository
|
pkgdesc = helper tools for the arch user repository
|
||||||
pkgver = 6.4
|
pkgver = 7
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/AladW/aurutils
|
url = https://github.com/AladW/aurutils
|
||||||
install = aurutils.install
|
install = aurutils.install
|
||||||
|
@ -16,7 +16,8 @@ pkgbase = aurutils
|
||||||
optdepends = zsh: zsh completion
|
optdepends = zsh: zsh completion
|
||||||
optdepends = devtools: aur-chroot
|
optdepends = devtools: aur-chroot
|
||||||
optdepends = vifm: default pager
|
optdepends = vifm: default pager
|
||||||
source = aurutils-6.4.tar.gz::https://github.com/AladW/aurutils/archive/refs/tags/6.4.tar.gz
|
optdepends = ninja: aur-sync ninja support
|
||||||
sha256sums = ec0229983a33d6b45d6ab84dde08809fe324242de9807bed3658d1fcc9bded3f
|
source = aurutils-7.tar.gz::https://github.com/AladW/aurutils/archive/refs/tags/7.tar.gz
|
||||||
|
sha256sums = e720ea19946e8dff747d98fd6f51b5b004d7f3e84de44fc62847e0f85a979837
|
||||||
|
|
||||||
pkgname = aurutils
|
pkgname = aurutils
|
||||||
|
|
7
PKGBUILD
7
PKGBUILD
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Alad Wenter <https://github.com/AladW>
|
# Maintainer: Alad Wenter <https://github.com/AladW>
|
||||||
# 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=6.4
|
pkgver=7
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
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'
|
||||||
|
@ -10,12 +10,13 @@ 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")
|
||||||
changelog=aurutils.changelog
|
changelog=aurutils.changelog
|
||||||
install=aurutils.install
|
install=aurutils.install
|
||||||
sha256sums=('ec0229983a33d6b45d6ab84dde08809fe324242de9807bed3658d1fcc9bded3f')
|
sha256sums=('e720ea19946e8dff747d98fd6f51b5b004d7f3e84de44fc62847e0f85a979837')
|
||||||
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'
|
||||||
'devtools: aur-chroot'
|
'devtools: aur-chroot'
|
||||||
'vifm: default pager')
|
'vifm: default pager'
|
||||||
|
'ninja: aur-sync ninja support')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
|
|
@ -1,3 +1,25 @@
|
||||||
|
## 7
|
||||||
|
|
||||||
|
This release adds optional support for the `ninja` build system. If the
|
||||||
|
`AUR_SYNC_USE_NINJA` environment variable is set to a positive value,
|
||||||
|
`aur-sync` will generate `build.ninja` where each target has an `aur-build`
|
||||||
|
command-line. This allows to continue building a series of packages when
|
||||||
|
several failed, with the maximum of failed targets controlled by the `-k` /
|
||||||
|
`--keep-going` option. On failure, a summary of successful ("OK") and failed
|
||||||
|
("FAIL") package builds is printed. The `--no-build` option in turn only
|
||||||
|
generates `build.ninja`, and prints the corresponding directory to `stdout`.
|
||||||
|
|
||||||
|
The logic to generate `build.ninja` files is exposed in the `aur-sync--ninja`
|
||||||
|
script. It can be used with other `aur` programs that output `pkgbase
|
||||||
|
depends_pkgbase` pairs, for example:
|
||||||
|
|
||||||
|
$ aur depends --graph "$@" | aur sync--ninja "$PWD" -- aur build
|
||||||
|
|
||||||
|
When running `ninja` on the resulting file, each successfully built `pkgbase`
|
||||||
|
will result in a `pkgbase.stamp` file. If the corresponding `PKGBUILD` is
|
||||||
|
modified, it will be marked for rebuilding by `ninja`. This can for example be
|
||||||
|
used for a git repository which hosts multiple `PKGBUILD` directories.
|
||||||
|
|
||||||
## 6.4
|
## 6.4
|
||||||
|
|
||||||
* `aur-depends`
|
* `aur-depends`
|
||||||
|
|
Loading…
Reference in a new issue