void-packages/srcpkgs/lf/template

21 lines
614 B
Bash

# Template file for 'lf'
pkgname=lf
version=r13
revision=2
build_style=go
go_import_path="github.com/gokcehan/${pkgname}"
go_ldflags="-X main.gVersion=$version"
hostmakedepends="git"
short_desc="Terminal file manager"
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
license="MIT"
homepage="https://github.com/gokcehan/lf"
distfiles="https://github.com/gokcehan/lf/archive/${version}.tar.gz"
checksum=fe99ed9785fbdc606835139c0c52c854b32b1f1449ba83567a115b21d2e882f4
post_install() {
vlicense LICENSE
vsconf etc/lfrc.example lfrc
vman lf.1
vinstall etc/lf.fish 0644 usr/share/fish/vendor_completions.d
}