void-packages/srcpkgs/lf/template

22 lines
605 B
Bash

# Template file for 'lf'
pkgname=lf
version=r11
revision=1
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=9b325380b42584b15cf15758d0cc43f23cc697e81546520efe73e7bde8501906
post_install() {
vlicense LICENSE
vsconf etc/lfrc.example lfrc
vman lf.1
vinstall etc/lf.fish 0644 usr/share/fish/completions
}