Date: Thursday, August 31, 2017 @ 04:32:34 Author: svenstaro Revision: 255030
upgpkg: ripgrep 0.6.0-2 Use actual architectures Modified: ripgrep/trunk/PKGBUILD ----------+ PKGBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-08-31 03:49:05 UTC (rev 255029) +++ PKGBUILD 2017-08-31 04:32:34 UTC (rev 255030) @@ -2,7 +2,7 @@ # Contributor: Andrew Gallant <[email protected]> pkgname=ripgrep pkgver=0.6.0 -pkgrel=1 +pkgrel=2 pkgdesc="A search tool that combines the usability of ag with the raw speed of grep" arch=('i686' 'x86_64') url="https://github.com/BurntSushi/ripgrep" @@ -14,7 +14,10 @@ build() { cd "$pkgname-$pkgver" + cargo build --release + # Use these flags once stable rust gets SIMD suport. + # RUSTFLAGS="-C target-feature=+ssse3" cargo build --release --features simd-accel } package() { @@ -22,8 +25,8 @@ install -Dm755 "target/release/rg" "$pkgdir/usr/bin/rg" + install -Dm644 "complete/_rg" "$pkgdir/usr/share/zsh/site-functions/_rg" install -Dm644 "target/release/build/ripgrep-"*/out/rg.bash-completion "$pkgdir/usr/share/bash-completion/completions/rg" - install -Dm644 "target/release/build/ripgrep-"*/out/_rg.ps1 "$pkgdir/usr/share/zsh/site-functions/_rg" install -Dm644 "target/release/build/ripgrep-"*/out/rg.fish "$pkgdir/usr/share/fish/completions/rg.fish" install -Dm644 "doc/rg.1" "$pkgdir/usr/share/man/man1/rg.1"
