# Contributor: Sodface <sod@sodface.com>
# Maintainer: Sodface <sod@sodface.com>
pkgname=tio
pkgver=3.8
pkgrel=0
pkgdesc="Simple TTY Terminal I/O Application"
url="https://github.com/tio/tio"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	bash-completion-dev
	glib-dev
	linux-headers
	lua5.4-dev
	meson
	"
options="!check" # no test suite
subpackages="$pkgname-doc $pkgname-bash-completion"
source="https://github.com/tio/tio/releases/download/v$pkgver/tio-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
f452e2353ed2c2f74b8309ed0888abdca40e93031cac3c0313097070b45cac1a7f346f09443269d7b2843617ae1fe214977829dd31a0e9972e95600465c3316d  tio-3.8.tar.xz
"
