summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn D Jones III2015-06-16 16:16:12 -0600
committerJohn D Jones III2015-06-16 16:16:12 -0600
commit4a29dd22aa33138ae64597f33071039a2635bc7b (patch)
tree4b9a8e4007e2112a0056e8806e605640b6b57fc5
downloadaur-4a29dd22aa33138ae64597f33071039a2635bc7b.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD50
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..96c74f3796b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = perl-wordnet-similarity
+ pkgdesc = WordNet-based measures of semantic relatedness.
+ pkgver = 2.05
+ pkgrel = 1
+ url = http://search.cpan.org/dist/WordNet-Similarity
+ arch = any
+ license = PerlArtistic
+ license = GPL
+ depends = perl-digest-sha1
+ depends = perl-text-similarity>=0.02
+ depends = perl-wordnet-querydata>=1.40
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/T/TP/TPEDERSE/WordNet-Similarity-2.05.tar.gz
+ md5sums = d8aba9c3472e11beb0fc0f0f31911e47
+ sha512sums = 7e8e1338b34fead131d7ce696e46a02e7d5e851644bdde8a0a4a7e8d0b1c38adc86e50e81abd29a0b958195e695b151871f40fb6cce7e7c404702ceabee3bf31
+
+pkgname = perl-wordnet-similarity
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a1f5c3fadb4
--- /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-wordnet-similarity'
+pkgver='2.05'
+pkgrel='1'
+pkgdesc="WordNet-based measures of semantic relatedness."
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-digest-sha1' 'perl-text-similarity>=0.02' 'perl-wordnet-querydata>=1.40')
+makedepends=()
+url='http://search.cpan.org/dist/WordNet-Similarity'
+source=('http://search.cpan.org/CPAN/authors/id/T/TP/TPEDERSE/WordNet-Similarity-2.05.tar.gz')
+md5sums=('d8aba9c3472e11beb0fc0f0f31911e47')
+sha512sums=('7e8e1338b34fead131d7ce696e46a02e7d5e851644bdde8a0a4a7e8d0b1c38adc86e50e81abd29a0b958195e695b151871f40fb6cce7e7c404702ceabee3bf31')
+_distdir="WordNet-Similarity-2.05"
+
+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: