summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD13
2 files changed, 13 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 06d2974faba..d1a1a9aecba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,17 @@
# Generated by mksrcinfo v8
-# Thu Jan 23 10:58:00 UTC 2020
+# Fri Feb 28 00:32:12 UTC 2020
pkgbase = tealdeer-git
- pkgdesc = A fast TLDR client written in Rust.
- pkgver = r204.7a3a565
+ pkgdesc = A fast tldr client in Rust.
+ pkgver = r213.3a5c0ce
pkgrel = 1
url = https://github.com/dbrgn/tealdeer
- arch = x86_64
- arch = i686
+ arch = any
license = MIT
license = Apache
makedepends = git
makedepends = rust
makedepends = cargo
+ depends = openssl
provides = tldr
conflicts = tldr
options = !emptydirs
diff --git a/PKGBUILD b/PKGBUILD
index 446c3ec82f9..fbb97026b2d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
pkgname=tealdeer-git
_name=tealdeer
_binname=tldr
-pkgver=r204.7a3a565
+pkgver=r213.3a5c0ce
pkgrel=1
-pkgdesc="A fast TLDR client written in Rust."
-arch=('x86_64' 'i686')
+pkgdesc="A fast tldr client in Rust."
+arch=('any')
url="https://github.com/dbrgn/tealdeer"
license=('MIT' 'Apache')
-depends=()
+depends=('openssl')
makedepends=('git' 'rust' 'cargo')
provides=('tldr')
conflicts=('tldr')
@@ -33,9 +33,12 @@ package() {
install -D -o root -g root -m 755 target/release/tldr "$pkgdir/usr/bin/${_binname}"
# Install shell completions
- install -D -o root -g root -m 644 bash_tealdeer "$pkgdir/usr/share/bash-completion/completions/${_binname}"
+ install -D -o root -g root -m 644 bash_tealdeer "${pkgdir}/usr/share/bash-completion/completions/${_binname}"
install -D -o root -g root -m 644 fish_tealdeer "${pkgdir}/usr/share/fish/completions/${_binname}.fish"
install -D -o root -g root -m 644 zsh_tealdeer "${pkgdir}/usr/share/zsh/site-functions/_${_binname}"
+
+ # Install MIT license
+ install -Dm 644 "${srcdir}/tealdeer/LICENSE-MIT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"
}
pkgver() {