summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo Bargen2018-02-11 01:13:01 +0100
committerDanilo Bargen2018-02-11 01:13:01 +0100
commit535d05441d7543e65f3e23edfb7278a3ee00dbde (patch)
tree21d339ea2a56f85fab94702a0abdaf5d63bca78c
parent402e12acba0df272a4e7ee308888b1a9d4f9caf8 (diff)
downloadaur-535d05441d7543e65f3e23edfb7278a3ee00dbde.tar.gz
Version r108.2d1caf2, add bash completions
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 9 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e80a17dad39..f3c9babfa30 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Nov 25 08:07:45 UTC 2016
+# Sun Feb 11 00:12:43 UTC 2018
pkgbase = tealdeer-git
pkgdesc = A fast TLDR client written in Rust.
- pkgver = r96.876898b
+ pkgver = r108.2d1caf2
pkgrel = 1
url = https://github.com/dbrgn/tealdeer
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 11945b9caf9..8c86686e5be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Danilo Bargen <aur at dbrgn dot ch>
pkgname=tealdeer-git
_name=tealdeer
-pkgver=r96.876898b
+pkgver=r108.2d1caf2
pkgrel=1
pkgdesc="A fast TLDR client written in Rust."
arch=('x86_64' 'i686')
@@ -22,8 +22,14 @@ build() {
package() {
cd "$srcdir/$_name"
+
+ # Install binary
mkdir -p $pkgdir/usr/bin
install -o root -g root -m 755 target/release/tldr $pkgdir/usr/bin
+
+ # Install bash completions
+ mkdir -p $pkgdir/usr/share/bash-completion/completions
+ install -o root -g root -m 644 bash_tealdeer $pkgdir/usr/share/bash-completion/completions/tldr
}
pkgver() {