void-packages/srcpkgs/lf/template

24 lines
656 B
Bash

# Template file for 'lf'
pkgname=lf
version=r31
revision=1
build_style=go
go_import_path="github.com/gokcehan/${pkgname}"
go_ldflags="-X main.gVersion=$version"
short_desc="Terminal file manager"
maintainer="Daniel Lewan <daniel@teddydd.me>"
license="MIT"
homepage="https://github.com/gokcehan/lf"
distfiles="https://github.com/gokcehan/lf/archive/${version}.tar.gz"
checksum=ed47fc22c58cf4f4e4116a58c500bdb9f9ccc0b89f87be09f321e8d1431226ab
post_install() {
vlicense LICENSE
vsconf etc/lfrc.example lfrc
vman lf.1
vcompletion etc/lf.fish fish
vcompletion etc/lf.zsh zsh
vcompletion etc/lf.bash bash
vinstall lf.desktop 644 usr/share/applications
}