summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn D Jones III2015-06-16 15:15:38 -0600
committerJohn D Jones III2015-06-16 15:15:38 -0600
commita232e5773b955edfabdff2b10efb2fd335346d73 (patch)
tree02257eecab7e8a47b1aadd10d1d1b61dce943d1f
downloadaur-perl-lingua-en-inflect-phrase.tar.gz
Initial import
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD50
2 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5947e6e5a72
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = perl-lingua-en-inflect-phrase
+ pkgdesc = Inflect short English Phrases
+ pkgver = 0.18
+ pkgrel = 1
+ url = http://search.cpan.org/dist/Lingua-EN-Inflect-Phrase
+ arch = any
+ license = PerlArtistic
+ license = GPL
+ makedepends = perl-test-nowarnings
+ depends = perl-lingua-en-findnumber
+ depends = perl-lingua-en-inflect
+ depends = perl-lingua-en-inflect-number
+ depends = perl-lingua-en-number-isordinal
+ depends = perl-lingua-en-tagger
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/R/RK/RKITOVER/Lingua-EN-Inflect-Phrase-0.18.tar.gz
+ md5sums = 6e6ac3451913946ca93e0ebfd4881e52
+ sha512sums = e56c19981001ab67e159d08c97f1fb44d65e00a165c8b281a3dbe1e837d54bc7506f3494a53f5499b82db667d5307873e8df10cad069857553151937fce804eb
+
+pkgname = perl-lingua-en-inflect-phrase
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bde6fb6b9f1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
+# Generator : CPANPLUS::Dist::Arch 1.25
+
+pkgname='perl-lingua-en-inflect-phrase'
+pkgver='0.18'
+pkgrel='1'
+pkgdesc="Inflect short English Phrases"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-lingua-en-findnumber' 'perl-lingua-en-inflect' 'perl-lingua-en-inflect-number' 'perl-lingua-en-number-isordinal' 'perl-lingua-en-tagger')
+makedepends=('perl-test-nowarnings')
+url='http://search.cpan.org/dist/Lingua-EN-Inflect-Phrase'
+source=('http://search.cpan.org/CPAN/authors/id/R/RK/RKITOVER/Lingua-EN-Inflect-Phrase-0.18.tar.gz')
+md5sums=('6e6ac3451913946ca93e0ebfd4881e52')
+sha512sums=('e56c19981001ab67e159d08c97f1fb44d65e00a165c8b281a3dbe1e837d54bc7506f3494a53f5499b82db667d5307873e8df10cad069857553151937fce804eb')
+_distdir="Lingua-EN-Inflect-Phrase-0.18"
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$srcdir/$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make install
+
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et: