archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / perl-lingua-en-numbers / trunk / PKGBUILD
blob05a8ce37346c3a9dbe9420f22c474ca6d0fb1d9d
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Allan McRae <mcrae_allan@hotmail.com>
3 # Contributor: François Charette <firmicus ατ gmx δοτ net>
5 pkgname=perl-lingua-en-numbers
6 pkgver=2.03
7 pkgrel=4
8 pkgdesc="Turn 407 into four hundred and seven, etc."
9 arch=('any')
10 url="https://search.cpan.org/dist/Lingua-EN-Numbers"
11 license=('GPL' 'PerlArtistic')
12 depends=('perl>=5.10.0')
13 options=('!emptydirs')
14 source=(https://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Lingua-EN-Numbers-$pkgver.tar.gz)
15 sha256sums=('493b909a98798668004a2ae486510dd603f858efbab8c50d931627ee8c40a5ac')
17 build() {
18   cd  "$srcdir"/Lingua-EN-Numbers-$pkgver
19   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
20   make
23 package() {
24   cd  "$srcdir"/Lingua-EN-Numbers-$pkgver
25   make install DESTDIR="$pkgdir"
26   find "$pkgdir" -name '.packlist' -delete
27   find "$pkgdir" -name '*.pod' -delete