26 lines
848 B
Bash
26 lines
848 B
Bash
# Template file for 'tealdeer'
|
|
pkgname=tealdeer
|
|
version=1.4.1
|
|
revision=2
|
|
build_style=cargo
|
|
hostmakedepends="pkg-config"
|
|
makedepends="openssl-devel"
|
|
depends="openssl"
|
|
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=eaf42fe17be751985cbf46c170ef623fcbd36028c88c2e70823492a9335a4a8e
|
|
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
|
|
}
|