void-packages/srcpkgs/lf/template
2019-02-10 18:53:23 -02:00

21 lines
605 B
Bash

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