blob: 1d44369c473a32e4514ef86594f2556d3e4e052c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=figlet
pkgver=2.2.5
pkgrel=0
pkgdesc="A tool for making large ASCII art letters out of text"
url="http://www.figlet.org/"
arch="all"
license="BSD-3-Clause"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="ftp://ftp.figlet.org/pub/figlet/program/unix/${pkgname}-${pkgver}.tar.gz
musl-fix-cplusplus-decls.patch"
build() {
cd "$builddir"
make DEFAULTFONTDIR=/usr/share/figlet/fonts all
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="${pkgdir}" BINDIR=/usr/bin MANDIR=/usr/share/man \
DEFAULTFONTDIR=/usr/share/figlet/fonts install
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
sha512sums="bb9610fd89a51dd3e65c485653fe1292f47dbca7cb9a05af4ce317f5d776bb346ae455aec07fc37c290f6658639920fd7c431c1135a0f4d456a21c0bd25f99fb figlet-2.2.5.tar.gz
4ac1788686ff89c27747fe10b43de90f43c2aaa40476610cf5af52ff43c00e180b91acc1646658330fd534d223cef4643ab3c7f7bf0f6c9b5861601b1d8a05fe musl-fix-cplusplus-decls.patch"
|