void-packages/srcpkgs/vifm/template

26 lines
755 B
Bash

# Template file for 'vifm'
pkgname=vifm
version=0.10.1
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=99006f56db05e1bdfb7983e8d5c31c9ac93bf2ac9e0409a577c8ca660fecd03b
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
}