void-packages/srcpkgs/mtm/template
meator 9c450388e1 mtm: add ncurses to terminfo dependencies
mtm-terminfo.INSTALL uses tic to compile terminfo dependencies,
but it doesn't depend on ncurses, the provider of tic. This commit fixes
this.
2021-12-11 00:19:28 -03:00

31 lines
719 B
Bash

# Template file for 'mtm'
pkgname=mtm
version=1.2.0
revision=3
build_style=gnu-makefile
makedepends="ncurses-devel ncurses-libs"
depends="ncurses"
short_desc="Micro Terminal Multiplexer"
maintainer="travankor <travankor@tuta.io>"
license="GPL-3.0-or-later"
homepage="https://github.com/deadpixi/mtm"
distfiles="https://github.com/deadpixi/mtm/archive/${version}.tar.gz"
checksum=68f753f743fcd3d87f269011d4bbd3fed59cfcad710d7c7db98844e3e675c196
do_build() {
make HEADERS='-DNCURSESW_INCLUDE_H="<ncurses.h>"'
}
do_install() {
vbin mtm
vinstall mtm.ti 644 usr/share/terminfo/m
vman mtm.1
}
mtm-terminfo_package() {
short_desc+=" - terminfo data"
depends="ncurses"
pkg_install() {
vmove usr/share/terminfo
}
}