[arch-commits] Commit in perl-text-soundex/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 10:33:49 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:33:48
  Author: felixonmars
Revision: 649009

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-text-soundex/repos/community-staging-x86_64/
  perl-text-soundex/repos/community-staging-x86_64/PKGBUILD
    (from rev 649005, perl-text-soundex/trunk/PKGBUILD)

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

Copied: perl-text-soundex/repos/community-staging-x86_64/PKGBUILD (from rev 649005, perl-text-soundex/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-06-21 10:33:48 UTC (rev 649009)
@@ -0,0 +1,35 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Contributor: Ben Booth <benwbooth at gmail.com>
+
+pkgname=perl-text-soundex
+pkgver=3.05
+pkgrel=8
+pkgdesc='Implementation of the soundex algorithm'
+arch=('x86_64')
+url="https://metacpan.org/release/Text-Soundex"
+license=('GPL' 'PerlArtistic')
+depends=(perl)
+options=('!emptydirs' purge)
+source=("https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Text-Soundex-$pkgver.tar.gz")
+md5sums=('cb40ded7a5d27aa3a411d274d6ec18ae')
+
+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"
+)



More information about the arch-commits mailing list