2018-03-31 23:39:09 +03:00
|
|
|
# Description: A ncurses based file manager with vi like keybindings
|
2020-06-01 15:45:48 +00:00
|
|
|
# URL: https://vifm.info
|
2019-08-30 09:26:17 -04:00
|
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
2019-10-30 00:21:30 +01:00
|
|
|
# Packager: Alexandr Savca, alexandr dot savca89 at gmail dot com
|
2018-03-31 23:39:09 +03:00
|
|
|
# Depends on: ncurses
|
|
|
|
|
|
|
|
name=vifm
|
2019-08-26 16:43:46 +03:00
|
|
|
version=0.10.1
|
2019-08-26 17:18:28 +03:00
|
|
|
release=2
|
2019-08-26 16:43:46 +03:00
|
|
|
source=(https://github.com/$name/$name/archive/v$version/$name-v$version.tar.gz)
|
2018-03-31 23:39:09 +03:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-nls
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2019-08-26 17:08:56 +03:00
|
|
|
# bash completion
|
2018-04-01 00:13:54 +03:00
|
|
|
if ! pkginfo -i | grep '^bash-completion '; then
|
|
|
|
rm -rf $PKG/usr/share/bash-completion
|
|
|
|
fi
|
|
|
|
|
2019-08-26 17:08:56 +03:00
|
|
|
# zsh completion
|
|
|
|
if ! pkginfo -i | grep '^zsh '; then
|
|
|
|
rm -rf $PKG/usr/share/zsh
|
|
|
|
fi
|
|
|
|
|
|
|
|
# remove docs & osx-specific
|
|
|
|
rm -rf $PKG/usr/share/vifm/vim-doc
|
|
|
|
rm -rf $PKG/usr/share/vifm/vim/doc
|
|
|
|
rm -rf $PKG/usr/share/vifm/vifm-help.txt
|
|
|
|
rm -rf $PKG/usr/share/vifm/vifmrc-osx
|
2019-08-26 16:43:46 +03:00
|
|
|
rm -rf $PKG/usr/share/vifm/vifm-media-osx
|
2018-03-31 23:39:09 +03:00
|
|
|
rm -rf $PKG/usr/share/doc
|
|
|
|
}
|