23 lines
665 B
Bash
23 lines
665 B
Bash
# Template file for 'lf'
|
|
pkgname=lf
|
|
version=r22
|
|
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 <vision360.daniel@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/gokcehan/lf"
|
|
distfiles="https://github.com/gokcehan/lf/archive/${version}.tar.gz"
|
|
checksum=2da82d8c6108b14ce866f49a308d2c7afc0d79bc4254a395e5b4cf07f3fe2c97
|
|
|
|
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
|
|
}
|