23 lines
667 B
Bash
23 lines
667 B
Bash
# Template file for 'tldr'
|
|
pkgname=tldr
|
|
version=1.0.0.alpha
|
|
revision=2
|
|
_version=${version/.alpha/-alpha}
|
|
build_style=go
|
|
go_import_path="github.com/isacikgoz/tldr"
|
|
go_package="./cmd/tldr"
|
|
depends="git"
|
|
short_desc="Fast and interactive TLDR client written in Go"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://isacikgoz.me/tldr/"
|
|
distfiles="https://github.com/isacikgoz/tldr/archive/v${_version}.tar.gz"
|
|
checksum=d40e1c602d84acc67cdee3b9bed001fb8ec198c7049c1d05eb071ab05af66c19
|
|
alternatives="tldr:tldr:/usr/bin/gtldr"
|
|
conflicts="tealdeer<=1.2.0_1"
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/tldr ${DESTDIR}/usr/bin/gtldr
|
|
vlicense LICENSE
|
|
}
|