Date: Sunday, December 25, 2022 @ 00:37:46 Author: maximbaz Revision: 1365457
ripgrep: simplify build(), remove jq makedep Modified: ripgrep/trunk/PKGBUILD ----------+ PKGBUILD | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-12-24 21:49:13 UTC (rev 1365456) +++ PKGBUILD 2022-12-25 00:37:46 UTC (rev 1365457) @@ -1,15 +1,15 @@ # Maintainer: Sven-Hendrik Haase <[email protected]> -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Maintainer: Maxim Baz <archlinux at maximbaz dot com> # Contributor: Andrew Gallant <[email protected]> pkgname=ripgrep pkgver=13.0.0 -pkgrel=2 +pkgrel=3 pkgdesc="A search tool that combines the usability of ag with the raw speed of grep" arch=('x86_64') url="https://github.com/BurntSushi/ripgrep" license=('MIT' 'custom') depends=('gcc-libs' 'pcre2') -makedepends=('cargo' 'asciidoctor' 'jq') +makedepends=('cargo' 'asciidoctor') source=("$pkgname-$pkgver.tar.gz::https://github.com/BurntSushi/$pkgname/archive/$pkgver.tar.gz") sha512sums=('9321532e4bf633ecd200d98873b6773230d046d7bd075f223f09a68531cef4e4138f01c6b41e0f8697805963ae7e0d44d542c6d94025d9a06fbbef3562c17734') @@ -16,8 +16,8 @@ build() { cd "$pkgname-$pkgver" - cargo build --release --locked --features 'pcre2' --message-format=json-render-diagnostics | - jq -r 'select(.out_dir) | select(.package_id | startswith("ripgrep ")) | .out_dir' > out_dir + cargo build --release --locked --features 'pcre2' + find target -name ripgrep-stamp -print0 | xargs -0 ls -t | head -n1 | xargs dirname > out_dir } check() {
