[arch-commits] Commit in ripgrep/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Mon Mar 30 07:46:28 UTC 2020
Date: Monday, March 30, 2020 @ 07:46:28
Author: svenstaro
Revision: 606707
archrelease: copy trunk to community-x86_64
Added:
ripgrep/repos/community-x86_64/PKGBUILD
(from rev 606706, ripgrep/trunk/PKGBUILD)
Deleted:
ripgrep/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-30 07:46:12 UTC (rev 606706)
+++ PKGBUILD 2020-03-30 07:46:28 UTC (rev 606707)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Andrew Gallant <jamslam at gmail.com>
-pkgname=ripgrep
-pkgver=12.0.0
-pkgrel=1
-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' 'asciidoc')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/BurntSushi/$pkgname/archive/$pkgver.tar.gz")
-sha512sums=('8c663ac328c528916e46f7c94a6b248c5f572feb2d7d012692b5640f2b5931b8a2d44e3638ea2a1ac9f48f7ec8154b4329fd96218ff84c178705a2c46c04458d')
-
-build() {
- cd "$pkgname-$pkgver"
-
- cargo build --release --locked --features 'pcre2'
-}
-
-check() {
- cd "$pkgname-$pkgver"
-
- cargo test --release --locked --features 'pcre2'
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- install -Dm755 "target/release/rg" "$pkgdir/usr/bin/rg"
-
- install -Dm644 "complete/_rg" "$pkgdir/usr/share/zsh/site-functions/_rg"
- local target_dir=$(ls target/release/build/ripgrep-*/out/rg.bash | head -n1 | xargs dirname)
- install -Dm644 "$target_dir"/rg.bash "$pkgdir/usr/share/bash-completion/completions/rg"
- install -Dm644 "$target_dir"/rg.fish "$pkgdir/usr/share/fish/vendor_completions.d/rg.fish"
- install -Dm644 "$target_dir"/rg.1 "$pkgdir/usr/share/man/man1/rg.1"
-
- install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md"
- install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/${pkgname}/COPYING"
- install -Dm644 "LICENSE-MIT" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE-MIT"
- install -Dm644 "UNLICENSE" "$pkgdir/usr/share/licenses/${pkgname}/UNLICENSE"
-}
Copied: ripgrep/repos/community-x86_64/PKGBUILD (from rev 606706, ripgrep/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-30 07:46:28 UTC (rev 606707)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Andrew Gallant <jamslam at gmail.com>
+pkgname=ripgrep
+pkgver=12.0.1
+pkgrel=1
+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' 'asciidoc')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/BurntSushi/$pkgname/archive/$pkgver.tar.gz")
+sha512sums=('2f05a60585e522ac900103c31990032429c6652647efc022ee0ff401019a4dc75614b6e0ac0779736398fe067bc326b3ec97e166fb5a58d09765f9b145414b4b')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ cargo build --release --locked --features 'pcre2'
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+
+ cargo test --release --locked --features 'pcre2'
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ install -Dm755 "target/release/rg" "$pkgdir/usr/bin/rg"
+
+ install -Dm644 "complete/_rg" "$pkgdir/usr/share/zsh/site-functions/_rg"
+ local target_dir=$(ls target/release/build/ripgrep-*/out/rg.bash | head -n1 | xargs dirname)
+ install -Dm644 "$target_dir"/rg.bash "$pkgdir/usr/share/bash-completion/completions/rg"
+ install -Dm644 "$target_dir"/rg.fish "$pkgdir/usr/share/fish/vendor_completions.d/rg.fish"
+ install -Dm644 "$target_dir"/rg.1 "$pkgdir/usr/share/man/man1/rg.1"
+
+ install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md"
+ install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/${pkgname}/COPYING"
+ install -Dm644 "LICENSE-MIT" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE-MIT"
+ install -Dm644 "UNLICENSE" "$pkgdir/usr/share/licenses/${pkgname}/UNLICENSE"
+}
More information about the arch-commits
mailing list