blob: bd80e877946658453e19edc459f55ab2e73d3c2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: acuteenvy
pkgname=tlrc-bin
_pkgname=tlrc
pkgver=1.9.3
pkgrel=1
pkgdesc="Official tldr client written in Rust"
arch=('x86_64')
url="https://github.com/tldr-pages/$_pkgname"
license=('MIT')
depends=('gcc-libs')
provides=('tldr')
conflicts=('tldr')
source=("$url/releases/download/v$pkgver/$_pkgname-v$pkgver-x86_64-unknown-linux-gnu.tar.gz")
b2sums=('c60ece1ecd73f1b5dafb1e79e30c26792ae988bb7ffacaa18e5c969b68d490847820e8d7364e801e543cf469798c311ece84483101ba1468e7073250cdaf9e3b')
package() {
install -Dm755 tldr -t "$pkgdir/usr/bin"
install -Dm644 tldr.1 -t "$pkgdir/usr/share/man/man1"
install -Dm644 completions/tldr.bash "$pkgdir/usr/share/bash-completion/completions/tldr"
install -Dm644 completions/_tldr -t "$pkgdir/usr/share/zsh/site-functions"
install -Dm644 completions/tldr.fish -t "$pkgdir/usr/share/fish/vendor_completions.d"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$_pkgname"
}
|