# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Étienne Deparis <etienne [at] depar.is>
# Contributor: Richard Quirk

pkgname=aha
pkgver=0.5.1
pkgrel=3
pkgdesc='Ansi HTML Adapter: convert ANSI escape sequences to HTML'
arch=(x86_64 aarch64)
url='https://github.com/theZiz/aha'
license=(MPL-1.1
         LGPL-2.0-or-later)
depends=(glibc)
makedepends=(git)
source=(git+https://github.com/theZiz/aha#tag=$pkgver)
sha256sums=('ca2576468fa5b7e34ec7d3e74e31444346eae5617f24f33859a1d21383d5e749')

build() {
  cd $pkgname
  make
}

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