void-packages/srcpkgs/vifm/template
2020-09-28 21:16:03 -04:00

25 lines
753 B
Bash

# Template file for 'vifm'
pkgname=vifm
version=0.11
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=d06f7e25f1ba0936f27f3d34401cc9eaa50ccc5a5e70ad5659e5014f04691e67
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
}