db-move: moved linux from [testing] to [core] (x86_64)
[arch-packages.git] / figlet / trunk / PKGBUILD
bloba55d6f4986291f1988b75ae3697d97cc42087ac7
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=figlet
4 pkgver=2.2.5
5 pkgrel=4
6 pkgdesc="A program for making large letters out of ordinary text"
7 arch=('x86_64')
8 url="http://www.figlet.org/"
9 license=('BSD')
10 depends=('glibc' 'sh')
11 source=(ftp://ftp.figlet.org/pub/figlet/program/unix/${pkgname}-${pkgver}.tar.gz)
12 sha512sums=('bb9610fd89a51dd3e65c485653fe1292f47dbca7cb9a05af4ce317f5d776bb346ae455aec07fc37c290f6658639920fd7c431c1135a0f4d456a21c0bd25f99fb')
14 build() {
15   cd ${pkgname}-${pkgver}
16   make DEFAULTFONTDIR=/usr/share/figlet/fonts all
19 check() {
20   cd ${pkgname}-${pkgver}
21   make check
24 package() {
25   cd ${pkgname}-${pkgver}
26   make DESTDIR="${pkgdir}" BINDIR=/usr/bin MANDIR=/usr/share/man \
27     DEFAULTFONTDIR=/usr/share/figlet/fonts install 
28   install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"