summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2016-09-22 18:17:46 -0400
committerAndrew Gallant <jamslam@gmail.com>2016-09-22 18:17:46 -0400
commitd772b21f3d1a217c45045eb946b5d0ce79fea58b (patch)
tree571cfea5ba8112e0ab662b20441ab01e383dc79c /pkg
parent1b14e245be77bdf2db17c39c077191b5a726627a (diff)
Include man page in Archlinux package.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/archlinux/.gitignore4
-rw-r--r--pkg/archlinux/PKGBUILD5
2 files changed, 7 insertions, 2 deletions
diff --git a/pkg/archlinux/.gitignore b/pkg/archlinux/.gitignore
new file mode 100644
index 00000000..8bbcbc07
--- /dev/null
+++ b/pkg/archlinux/.gitignore
@@ -0,0 +1,4 @@
+*.xz
+src
+pkg
+*.gz
diff --git a/pkg/archlinux/PKGBUILD b/pkg/archlinux/PKGBUILD
index 92d23209..c800e41d 100644
--- a/pkg/archlinux/PKGBUILD
+++ b/pkg/archlinux/PKGBUILD
@@ -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"