# Template file for 'ascii'
pkgname=ascii
version=3.32
revision=1
hostmakedepends="ruby-asciidoctor"
short_desc="List ASCII idiomatic names and octal/decimal code-point forms"
maintainer="Eloitor <eloitor@duck.com>"
license="BSD-2-Clause"
homepage="http://www.catb.org/~esr/ascii"
changelog="https://gitlab.com/esr/ascii/-/raw/master/NEWS.adoc"
distfiles="https://gitlab.com/esr/ascii/-/archive/${version}/ascii-${version}.tar.gz"
checksum=ee1a81fb299060cb2c7723386170e2bd0ebf393ce8731f16e255872fdad3ad35

do_build() {
	make CC="${CC}" CFLAGS="${CFLAGS} ${LDFLAGS}"
}

do_install() {
	vbin ascii
	vman ascii.1
	vlicense COPYING
}
