Date: Monday, June 6, 2016 @ 15:14:27 Author: spupykin Revision: 178007
Added: perl-text-soundex/ perl-text-soundex/repos/ perl-text-soundex/trunk/ perl-text-soundex/trunk/PKGBUILD ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Added: perl-text-soundex/trunk/PKGBUILD =================================================================== --- perl-text-soundex/trunk/PKGBUILD (rev 0) +++ perl-text-soundex/trunk/PKGBUILD 2016-06-06 13:14:27 UTC (rev 178007) @@ -0,0 +1,34 @@ +# Contributor: Ben Booth <[email protected]> + +pkgname=perl-text-soundex +pkgver=3.04 +pkgrel=1 +pkgdesc='Implementation of the soundex algorithm' +arch=('i686' 'x86_64') +url="https://metacpan.org/release/Text-Soundex" +license=('GPL' 'PerlArtistic') +depends=(perl) +options=('!emptydirs' purge) +source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Text-Soundex-$pkgver.tar.gz") +md5sums=('4630d47b42b92470df7b447984a71446') + +build() ( + cd "$srcdir/Text-Soundex-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + /usr/bin/perl Makefile.PL + make +) + +check() ( + cd "$srcdir/Text-Soundex-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +) + +package() ( + cd "$srcdir/Text-Soundex-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +)
