1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-04-08 16:53:58 +02:00

Include man page in Archlinux package.

This commit is contained in:
Andrew Gallant 2016-09-22 18:17:46 -04:00
parent 1b14e245be
commit d772b21f3d
2 changed files with 7 additions and 2 deletions
pkg/archlinux

4
pkg/archlinux/.gitignore vendored Normal file

@ -0,0 +1,4 @@
*.xz
src
pkg
*.gz

@ -1,7 +1,7 @@
# Contributor: Andrew Gallant <jamslam@gmail.com>
# Maintainer: Andrew Gallant
pkgname=ripgrep
pkgver=0.1.11
pkgver=0.1.14
pkgrel=1
pkgdesc="A search tool that combines the usability of The Silver Searcher with the raw speed of grep."
arch=('i686' 'x86_64')
@ -9,7 +9,7 @@ url="https://github.com/BurntSushi/ripgrep"
license=('UNLICENSE')
makedepends=('cargo')
source=("https://github.com/BurntSushi/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('d29beb1a43a263d75ce4ef23a07253ed6ea306b14ffb5b37bc4972fb5d98238c')
sha256sums=('3bb74c9d7242c2249ae7dafcb74187df0f352a2f5c41300a9dbb8ca047661e2c')
build() {
cd "$pkgname-$pkgver"
@ -28,6 +28,7 @@ package() {
cd "$pkgname-$pkgver"
install -Dm755 "target/release/rg" "$pkgdir/usr/bin/rg"
install -Dm644 "doc/rg.1" "$pkgdir/usr/share/man/man1/rg.1"
install -Dm644 "README-NEW.md" "$pkgdir/usr/share/doc/ripgrep/README.md"
install -Dm644 "COPYING" "$pkgdir/usr/share/doc/ripgrep/COPYING"
install -Dm644 "LICENSE-MIT" "$pkgdir/usr/share/doc/ripgrep/LICENSE-MIT"