aboutsummaryrefslogtreecommitdiffstats
path: root/community/tio/APKBUILD
blob: 3cc2ca5db25484770c793737b9f36b44b1072fed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Sodface <sod@sodface.com>
# Maintainer: Sodface <sod@sodface.com>
pkgname=tio
pkgver=2.4
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
	inih-dev
	linux-headers
	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 ${JOBS:+-j ${JOBS}} -C output
}

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

sha512sums="
397c369a858677479c30034ecd6aba0a4c5ae884473ba191d58e8b5427c58f7cf5215aa9cdf134cac9c78cc67ba2ec6cd92a8a56f755caa465bcd02c1c41018b  tio-2.4.tar.xz
"