EAPI=8

inherit meson

DESCRIPTION="a Unix batch system where the tasks spooled run one after the other."
HOMEPAGE="https://viric.name/soft/ts/"
SRC_URI="https://viric.name/soft/ts/ts-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"

IUSE=""
S="${WORKDIR}/ts-${PV}"
DOCS="Changelog OBJECTIVES PORTABILITY PROTOCOL README TRICKS"
HTML_DOCS=( web/index.html web/ts-0.2.1.png web/ts-0.5.4.ebuild
			web/article_linux_com.html )

src_install() {
	meson_src_install
	doman ts.1
}