# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=ictree
pkgver=1.0.1
pkgrel=0
pkgdesc="Like tree(1) but interactive"
url="https://github.com/NikitaIvanovV/ictree"
arch="all"
license="GPL-3.0-or-later AND MIT"
subpackages="$pkgname-doc"
source="https://github.com/NikitaIvanovV/ictree/releases/download/v$pkgver/ictree-v$pkgver.tar.gz"
builddir="$srcdir"
options="!check"  # no tests provided

# Bundled libraries:
# - https://github.com/termbox/termbox2 MIT
# - https://github.com/eteran/c-vector MIT

build() {
	make
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="
56a3c7c352328e46126e681ffe9b3f90182142528c2fccf9543a768de658bed1a13c003642d09e0cf3af5e9e5a76fdc28984c6cbdc636c51d1c4196eaa5816dc  ictree-v1.0.1.tar.gz
"
