31 lines
730 B
Bash
31 lines
730 B
Bash
# Template file for 'mtm'
|
|
pkgname=mtm
|
|
version=1.2.1
|
|
revision=1
|
|
hostmakedepends="ncurses"
|
|
makedepends="ncurses-devel ncurses-libs"
|
|
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=2ae05466ef44efa7ddb4bce58efc425617583d9196b72e80ec1090bd77df598c
|
|
|
|
do_build() {
|
|
make HEADERS='-DNCURSESW_INCLUDE_H="<ncurses.h>"'
|
|
}
|
|
|
|
do_install() {
|
|
vbin mtm
|
|
mkdir -p ${DESTDIR}/usr/share/terminfo
|
|
tic -sx -o ${DESTDIR}/usr/share/terminfo mtm.ti
|
|
vman mtm.1
|
|
}
|
|
|
|
mtm-terminfo_package() {
|
|
short_desc+=" - terminfo data"
|
|
pkg_install() {
|
|
vmove usr/share/terminfo
|
|
}
|
|
}
|