2019-07-24 14:46:37 +00:00
|
|
|
# Template file for 'mtm'
|
|
|
|
pkgname=mtm
|
2019-10-30 06:54:38 +00:00
|
|
|
version=1.2.0
|
2019-07-24 14:46:37 +00:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-makefile
|
|
|
|
makedepends="ncurses-devel ncurses-libs"
|
2019-10-30 06:54:38 +00:00
|
|
|
depends="ncurses"
|
2019-07-24 14:46:37 +00:00
|
|
|
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"
|
2019-10-30 06:54:38 +00:00
|
|
|
checksum=68f753f743fcd3d87f269011d4bbd3fed59cfcad710d7c7db98844e3e675c196
|
2019-07-24 14:46:37 +00:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make HEADERS='-DNCURSESW_INCLUDE_H="<ncurses.h>"'
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin mtm
|
2019-10-30 06:54:38 +00:00
|
|
|
vinstall mtm.ti 644 usr/share/terminfo/m
|
2019-07-24 14:46:37 +00:00
|
|
|
vman mtm.1
|
|
|
|
}
|
2019-10-30 06:54:38 +00:00
|
|
|
|
|
|
|
mtm-terminfo_package() {
|
|
|
|
short_desc+=" - terminfo data"
|
|
|
|
archs=noarch
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/terminfo
|
|
|
|
}
|
|
|
|
}
|