mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-14 21:27:01 +02:00
26 lines
923 B
Bash
26 lines
923 B
Bash
# Template file for 'tealdeer'
|
|
pkgname=tealdeer
|
|
version=1.7.1
|
|
revision=2
|
|
# uses rustls/ring
|
|
archs="x86_64* aarch64* i686* armv[67]*"
|
|
build_style=cargo
|
|
short_desc="Very fast implementation of tldr in Rust"
|
|
maintainer="Filip Rojek <filip@filiprojek.cz>"
|
|
license="Apache-2.0 OR MIT"
|
|
homepage="https://github.com/dbrgn/tealdeer"
|
|
changelog="https://raw.githubusercontent.com/dbrgn/tealdeer/main/CHANGELOG.md"
|
|
distfiles="https://github.com/dbrgn/tealdeer/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=2b10e141774d2a50d25a1d3ca3d911dedc0e1313366ce0a364068c7a686300d8
|
|
alternatives="
|
|
tldr:tldr:/usr/bin/tealdeer
|
|
tldr:tldr.fish:/usr/share/fish/vendor_completions.d/tealdeer.fish"
|
|
|
|
post_install() {
|
|
vlicense LICENSE-MIT
|
|
vlicense LICENSE-APACHE
|
|
mv ${DESTDIR}/usr/bin/tldr ${DESTDIR}/usr/bin/tealdeer
|
|
vcompletion completion/bash_tealdeer bash
|
|
vcompletion completion/fish_tealdeer fish
|
|
vcompletion completion/zsh_tealdeer zsh
|
|
}
|