void-packages/srcpkgs/mc/template

32 lines
841 B
Text

# Template file for 'mc'
pkgname=mc
version=4.8.7
revision=1
build_style=gnu-configure
configure_args="--with-screen=ncurses --without-x"
hostmakedepends="pkg-config"
makedepends="libglib-devel e2fsprogs-devel ncurses-devel libssh2-devel"
short_desc="User-friendly file manager and visual shell"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.ibiblio.org/mc/"
distfiles="http://www.midnight-commander.org/downloads/mc-${version}.tar.xz"
checksum=88f620f7944d629087e0f3518a7e7bff7600fd1c4fa157767cdcca95f2cb3074
mc_package() {
conf_files="
/etc/mc/filehighlight.ini
/etc/mc/mc.ext
/etc/mc/mcedit.menu
/etc/mc/sfs.ini
/etc/mc/mc.keymap.default
/etc/mc/mc.menu
/etc/mc/edit.indent.rc
/etc/mc/mc.keymap
/etc/mc/mc.menu.sr
/etc/mc/mc.keymap.emac"
pkg_install() {
vmove etc
vmove usr
}
}