From b496c790d3e04ef5ac2e4469a1ce78ebd1e88671 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Tue, 31 Dec 2019 03:38:22 -0600 Subject: [PATCH] New pacakge: tldr-0.6.1 --- srcpkgs/tldr/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/tldr/template diff --git a/srcpkgs/tldr/template b/srcpkgs/tldr/template new file mode 100644 index 00000000000..ca745d485ba --- /dev/null +++ b/srcpkgs/tldr/template @@ -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 " +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 +}