diff options
author | Marc Cousin | 2018-02-28 10:47:53 +0100 |
---|---|---|
committer | Marc Cousin | 2018-02-28 10:47:53 +0100 |
commit | e5fa7225da046c4ee8aab2f2e98e1ad58364b513 (patch) | |
tree | f557591a53703402663428c6fd7f951f26be37c0 | |
download | aur-perl-lingua-identify.tar.gz |
Initial version
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 49 |
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..421446c0f28d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +# Generated by makepkg 5.0.2 +# Wed Feb 28 09:39:00 UTC 2018 +pkgbase = perl-lingua-identify + pkgdesc = Language identification + pkgver = 0.56 + pkgrel = 1 + url = https://metacpan.org/release/Lingua-Identify + arch = any + license = PerlArtistic + license = GPL + depends = perl-class-factory-util>=1.6 + depends = perl-text-affixes>=0.07 + depends = perl-text-ngram>=0.13 + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/A/AM/AMBS/Lingua/Lingua-Identify-0.56.tar.gz + md5sums = e6aa95abf743ed3ec6b5b5a0b8e48a77 + sha512sums = f8d7f275cf698356d53407843f83d988cd36d39a542a5f09fded0219227a57612860c9a16f7ec27705e4fe143608cf5fc6597e7d7ddcef9857e658aac55766fc + +pkgname = perl-lingua-identify + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..918fab5885e5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,49 @@ +# Contributor: Anonymous +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname='perl-lingua-identify' +pkgver='0.56' +pkgrel='1' +pkgdesc="Language identification" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-class-factory-util>=1.6' 'perl-text-affixes>=0.07' 'perl-text-ngram>=0.13') +makedepends=() +url='https://metacpan.org/release/Lingua-Identify' +source=('http://search.cpan.org/CPAN/authors/id/A/AM/AMBS/Lingua/Lingua-Identify-0.56.tar.gz') +md5sums=('e6aa95abf743ed3ec6b5b5a0b8e48a77') +sha512sums=('f8d7f275cf698356d53407843f83d988cd36d39a542a5f09fded0219227a57612860c9a16f7ec27705e4fe143608cf5fc6597e7d7ddcef9857e658aac55766fc') +_distdir="Lingua-Identify-0.56" + +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: |