void-packages/srcpkgs/vifm/template

26 lines
752 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="Orphaned <orphan@voidlinux.org>"
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
}