# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=cbonsai
pkgver=1.3.1
pkgrel=1
pkgdesc="Grow bonsai trees in your terminal"
url="https://gitlab.com/jallbrit/cbonsai"
license="GPL-3.0"
arch="all"
options="!check" # no test suite
makedepends="ncurses-dev scdoc"
subpackages="$pkgname-doc"
source="https://gitlab.com/jallbrit/cbonsai/-/archive/v$pkgver/cbonsai-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	make
}

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

sha512sums="
026d26fb5f87d2e32892d770521411b04097db985b19f98018257657d9232de9271e73e0e1bf73c9e28a7267f224acfc4a0a57dee319c7d7acf0a34362defa8d  cbonsai-v1.3.1.tar.gz
"
