void-packages/srcpkgs/figlet/template

25 lines
659 B
Bash

# Template file for 'figlet'
pkgname=figlet
version=2.2.5
revision=6
build_style=gnu-makefile
make_install_args="prefix=/usr MANDIR=/usr/share/man"
short_desc="Program for making large letters out of ordinary text"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause"
homepage="http://www.figlet.org/"
distfiles="ftp://ftp.figlet.org/pub/figlet/program/unix/${pkgname}-${version}.tar.gz"
checksum=bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d
post_extract() {
sed -i /DECLS/d utf8.h
}
do_build() {
make ${makejobs} CC="$CC" LD="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" prefix=/usr
}
post_install() {
vlicense LICENSE
}