35 lines
824 B
Bash
35 lines
824 B
Bash
# Template file for 'lf'
|
|
pkgname=lf
|
|
version=r32
|
|
revision=2
|
|
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=01531e7a78d8bfbe14739072e93446d003f0e4ce12032a26671fa326b73bc911
|
|
|
|
do_check() {
|
|
go test ./...
|
|
}
|
|
|
|
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
|
|
vsconf etc/colors.example
|
|
vsconf etc/icons.example
|
|
vsconf etc/lfcd.sh
|
|
vsconf etc/lfcd.fish
|
|
vsconf etc/lfcd.csh
|
|
vsconf etc/lfcd.nu
|
|
|
|
}
|