diff options
Diffstat (limited to 'extra/figlet/PKGBUILD')
-rw-r--r-- | extra/figlet/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/figlet/PKGBUILD b/extra/figlet/PKGBUILD new file mode 100644 index 000000000..c702dc589 --- /dev/null +++ b/extra/figlet/PKGBUILD @@ -0,0 +1,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" +} |