25 lines
833 B
Bash
25 lines
833 B
Bash
# Template file for 'tealdeer'
|
|
pkgname=tealdeer
|
|
version=1.5.0
|
|
revision=1
|
|
# uses rustls/ring
|
|
archs="x86_64* aarch64* i686* armv[67]*"
|
|
build_style=cargo
|
|
short_desc="Very fast implementation of tldr in Rust"
|
|
maintainer="jcgruenhage <jan.christian@gruenhage.xyz>"
|
|
license="MIT, Apache-2.0"
|
|
homepage="https://github.com/dbrgn/tealdeer"
|
|
changelog="https://raw.githubusercontent.com/dbrgn/tealdeer/v${version}/CHANGELOG.md"
|
|
distfiles="https://github.com/dbrgn/tealdeer/archive/v${version}.tar.gz"
|
|
checksum=00902a50373ab75fedec4578c6c2c02523fad435486918ad9a86ed01f804358a
|
|
alternatives="tldr:/usr/bin/tldr:/usr/bin/tealdeer"
|
|
|
|
post_install() {
|
|
vlicense LICENSE-MIT
|
|
vlicense LICENSE-APACHE
|
|
mv ${DESTDIR}/usr/bin/tldr ${DESTDIR}/usr/bin/tealdeer
|
|
vcompletion bash_tealdeer bash
|
|
vcompletion fish_tealdeer fish
|
|
vcompletion zsh_tealdeer zsh
|
|
}
|