[arch-commits] Commit in ripgrep-all/repos (2 files)
Frederik Schwan
freswa at gemini.archlinux.org
Wed Dec 15 14:05:02 UTC 2021
Date: Wednesday, December 15, 2021 @ 14:05:02
Author: freswa
Revision: 1073078
archrelease: copy trunk to community-x86_64
Added:
ripgrep-all/repos/community-x86_64/
ripgrep-all/repos/community-x86_64/PKGBUILD
(from rev 1073077, ripgrep-all/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: ripgrep-all/repos/community-x86_64/PKGBUILD (from rev 1073077, ripgrep-all/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-12-15 14:05:02 UTC (rev 1073078)
@@ -0,0 +1,47 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Chris Lane <aur at chrislane dot com>
+# Contributor: phiresky <phireskyde+aur at gmail.com>
+# Contributor: Julien Nicoulaud <julien DOT nicoulaud AT gmail DOT com>
+
+pkgname=ripgrep-all
+pkgver=0.9.6
+pkgrel=3
+pkgdesc="rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc."
+arch=('x86_64')
+url='https://github.com/phiresky/ripgrep-all'
+license=('AGPL3')
+depends=('ripgrep' 'xz')
+makedepends=('cargo')
+optdepends=(
+ 'ffmpeg: for the ffmpeg adapter'
+ 'graphicsmagick: for the pdfpages adapter'
+ 'pandoc: for the pandoc adapter'
+ 'poppler: for the poppler adapter'
+ 'tesseract: for the tesseract adapter'
+)
+source=("https://github.com/phiresky/ripgrep-all/archive/refs/tags/v${pkgver}.tar.gz")
+b2sums=('184ad8835c00913eba07c6f922683b372f790ba9a04141bb98fa7510095cc392b750361ddd0cbe0e2ebf832b24249c0203f07b1e494ae7810ca1585868895bf2')
+
+prepare() {
+ cd ripgrep-all-${pkgver}
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd ripgrep-all-${pkgver}
+ export RUSTUP_TOOLCHAIN=stable
+ export CARGO_TARGET_DIR=target
+ cargo build --frozen --release --all-features
+}
+
+check() {
+ cd ripgrep-all-${pkgver}
+ export RUSTUP_TOOLCHAIN=stable
+ cargo test --frozen --all-features
+}
+
+package() {
+ cd ripgrep-all-${pkgver}
+ install -Dm 755 target/release/rga "${pkgdir}"/usr/bin/rga
+ install -Dm 755 target/release/rga-preproc "${pkgdir}"/usr/bin/rga-preproc
+}
More information about the arch-commits
mailing list