New pacakge: tldr-0.6.1

This commit is contained in:
Nathan Owens 2019-12-31 03:38:22 -06:00 committed by Jürgen Buchmüller
parent d60ff71d78
commit bab228ff20

19
srcpkgs/tldr/template Normal file
View file

@ -0,0 +1,19 @@
# Template file for 'tldr'
pkgname=tldr
version=0.6.1
revision=1
build_style=go
go_import_path="github.com/isacikgoz/tldr"
hostmakedepends="git"
short_desc="Fast and interactive TLDR client written in Go"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="MIT"
homepage="https://isacikgoz.me/tldr/"
distfiles="https://github.com/isacikgoz/tldr/archive/v${version}.tar.gz"
checksum=e377942c6dd9cbe3f9f55b7614e17b7c5f0694b326ad3993d0cde59aca8dc8fa
alternatives="tldr:tldr:/usr/bin/gtldr"
post_install() {
mv ${DESTDIR}/usr/bin/tldr ${DESTDIR}/usr/bin/gtldr
vlicense LICENSE
}