void-packages/srcpkgs/mc/template
0x5c 9c58265122 mc: update to 4.8.31.
Removed the mksh patch since it was purely adding a feature that isn't
related to void, hasn't been accepted by upstream (yet?), and that the
correctness of which is unclear. I also don't use mksh and have no way
to ensure the patch is still good or remains good in the future.
See: https://midnight-commander.org/ticket/3748
2024-02-14 15:57:23 -05:00

29 lines
871 B
Bash

# Template file for 'mc'
pkgname=mc
version=4.8.31
revision=1
build_style=gnu-configure
configure_args="--with-screen=slang --without-x"
hostmakedepends="perl pkg-config"
makedepends="e2fsprogs-devel gpm-devel libglib-devel libssh2-devel slang-devel"
short_desc="User-friendly file manager and visual shell"
maintainer="0x5c <dev@0x5c.io>"
license="GPL-3.0-or-later"
homepage="https://midnight-commander.org/"
changelog="https://midnight-commander.org/wiki/NEWS-${version}"
distfiles="https://www.midnight-commander.org/downloads/mc-${version}.tar.xz"
checksum=24191cf8667675b8e31fc4a9d18a0a65bdc0598c2c5c4ea092494cd13ab4ab1a
conf_files="
/etc/mc/filehighlight.ini
/etc/mc/mc.default.keymap
/etc/mc/mc.emacs.keymap
/etc/mc/mc.ext.ini
/etc/mc/mc.keymap
/etc/mc/mc.menu
/etc/mc/mcedit.menu
/etc/mc/sfs.ini"
post_install() {
vdoc "${FILESDIR}/README.voidlinux"
}