# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=aha
pkgver=0.5.1
pkgrel=3
pkgdesc="ANSI color to HTML converter"
url="https://github.com/theZiz/aha"
arch="all"
license="MPL-1.1"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/theZiz/aha/archive/$pkgver.tar.gz"
options="!check" # Does not have a testsuite

build() {
	make
}

package() {
	install -Dm 755 aha \
		"$pkgdir"/usr/bin/aha
	install -Dm 644 aha.1 \
		"$pkgdir"/usr/share/man/man1/aha.1
}

sha512sums="0eb88e681208c0956e344d6574f9d7ba155d38bfb386d0a9f17022c5e925fb16d0efb6aa04804191b4cac1697a87a0f16ba51bcd97b6135cc7606046eaf89288  aha-0.5.1.tar.gz"
