blob: c702dc5895e53598bcbd7798245288215b1e2ba5 (
plain)
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
|
# $Id: PKGBUILD 160446 2012-06-02 01:31:54Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=figlet
pkgver=2.2.5
pkgrel=1
pkgdesc="A program for making large letters out of ordinary text"
arch=('i686' 'x86_64')
url="http://www.figlet.org/"
license=('BSD')
depends=('glibc' 'sh')
source=(ftp://ftp.figlet.org/pub/figlet/program/unix/${pkgname}-${pkgver}.tar.gz)
sha1sums=('dda696958c161bd71d6590152c94c4f705415727')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DEFAULTFONTDIR=/usr/share/figlet/fonts all
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
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"
}
|