blob: 0e9a9c4cbbd080227a489c258ccde9dfe150c2e3 (
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.11.0
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=('93ac1449c75a882b8aa9ff57188f64eb45feba06609702de7165b7f469faa068b291b4d8a556110f7397ca49e18bd587983b8e583588fdd463a99bb1b75e61ed')
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"
}
|