void-packages/srcpkgs/vifm/template
FollieHiyuki fe4b6c79f2 vifm: update to 0.12
Disable failed testsuites:
- fileopts: disable tests for `chown` process with GID
- commands, lua: segmentation fault
- misc: fails because `TERM` is not set. But setting it to a random
  value, eg. `xterm-256color` makes it segmentation fault
2021-10-08 11:08:59 -03:00

25 lines
753 B
Bash

# Template file for 'vifm'
pkgname=vifm
version=0.12
revision=1
build_style=gnu-configure
configure_args="--without-gtk"
hostmakedepends="mdocml"
makedepends="ncurses-devel file-devel"
depends="desktop-file-utils"
short_desc="Ncurses-based file manager with vi-like keybindings"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://vifm.info/"
distfiles="${SOURCEFORGE_SITE}/vifm/vifm-${version}.tar.bz2"
checksum=33a9618f32b35b5b8c64483884f9ad09963ca8465b2935def79159028e27b2c0
CFLAGS="-fcommon"
post_install() {
vsconf data/vifmrc
rm -f ${DESTDIR}/usr/share/vifm/vifmrc
rm -f ${DESTDIR}/usr/share/vifm/vifmrc-osx
rm -f ${DESTDIR}/usr/share/vifm/vifm-media-osx
rm -f ${DESTDIR}/usr/share/doc/vifm/COPYING
}