summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r--abs/core/perl_modules/perl-lingua-en-numbers-ordinate/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/abs/core/perl_modules/perl-lingua-en-numbers-ordinate/PKGBUILD b/abs/core/perl_modules/perl-lingua-en-numbers-ordinate/PKGBUILD
index fb62569..5ba0610 100644
--- a/abs/core/perl_modules/perl-lingua-en-numbers-ordinate/PKGBUILD
+++ b/abs/core/perl_modules/perl-lingua-en-numbers-ordinate/PKGBUILD
@@ -1,25 +1,29 @@
-# $Id: PKGBUILD 65879 2012-02-22 13:16:53Z spupykin $
+# $Id$
# 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-ordinate
-pkgver=1.02
-pkgrel=4
+pkgver=1.04
+pkgrel=2
pkgdesc="Go from cardinal (53) to ordinal (53rd)"
arch=('any')
url="http://search.cpan.org/dist/Lingua-EN-Numbers-Ordinate"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/S/SB/SBURKE/Lingua-EN-Numbers-Ordinate-$pkgver.tar.gz)
-md5sums=('e92078fafd9108a137972c4e9bae9e99')
+source=(http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/Lingua-EN-Numbers-Ordinate-$pkgver.tar.gz)
+md5sums=('8d98839010f7f5cb3b2f593d2e00b505')
build() {
- cd $srcdir/Lingua-EN-Numbers-Ordinate-$pkgver
+ cd "$srcdir"/Lingua-EN-Numbers-Ordinate-$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
+}
+
+package() {
+ cd "$srcdir"/Lingua-EN-Numbers-Ordinate-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
}