void-packages/srcpkgs/lf/template

24 lines
719 B
Bash

# Template file for 'lf'
pkgname=lf
version=r15
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=e389a3853ce02ffcab9de635cbe456e6fdc5c1696c9585614d80bb0fae88b27d
post_install() {
vlicense LICENSE
vsconf etc/lfrc.example lfrc
vman lf.1
vinstall etc/lf.fish 644 usr/share/fish/vendor_completions.d
vinstall etc/lf.zsh 644 usr/share/zsh/site-functions _lf
vinstall lf.desktop 644 usr/share/applications
}