summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-lingua-en-numbers/PKGBUILD
blob: c7563cf9d5d9f2786e618e545b454215cb21e41f (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
# $Id: PKGBUILD 73857 2012-07-16 05:44:00Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Allan McRae <mcrae_allan@hotmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-lingua-en-numbers
pkgver=1.04
pkgrel=1
pkgdesc="Turn 407 into four hundred and seven, etc."
arch=('any')
url="http://search.cpan.org/dist/Lingua-EN-Numbers"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Lingua-EN-Numbers-$pkgver.tar.gz)
md5sums=('6b3d8ea645b37ee29b37388caa01b0f3')

build() {
  cd  $srcdir/Lingua-EN-Numbers-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}