Date: Thursday, April 11, 2019 @ 14:45:56
  Author: felixonmars
Revision: 451110

addpkg: perl-lingua-en-inflect 1.903-1

Added:
  perl-lingua-en-inflect/
  perl-lingua-en-inflect/repos/
  perl-lingua-en-inflect/trunk/
  perl-lingua-en-inflect/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Added: perl-lingua-en-inflect/trunk/PKGBUILD
===================================================================
--- perl-lingua-en-inflect/trunk/PKGBUILD                               (rev 0)
+++ perl-lingua-en-inflect/trunk/PKGBUILD       2019-04-11 14:45:56 UTC (rev 
451110)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=perl-lingua-en-inflect
+pkgver=1.903
+pkgrel=1
+pkgdesc='Convert singular to plural. Select "a" or "an"'
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Lingua-EN-Inflect";
+depends=('perl')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/D/DC/DCONWAY/Lingua-EN-Inflect-$pkgver.tar.gz";)
+sha512sums=('2f629e1dd9eddba123423c95531907a7c0a7eb0bc99ee425ea2c3cdb4059af0e78625c45392eb65780c8b06da8eec790e242d51912c87a15bcf5d466d68549ce')
+
+build() {
+  cd Lingua-EN-Inflect-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Lingua-EN-Inflect-$pkgver
+  make test
+}
+
+package() {
+  cd Lingua-EN-Inflect-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Reply via email to