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

Felix Yan felixonmars at archlinux.org
Mon May 24 08:36:59 UTC 2021


    Date: Monday, May 24, 2021 @ 08:36:59
  Author: felixonmars
Revision: 944051

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 944048, perl-text-soundex/trunk/PKGBUILD)

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

Copied: perl-text-soundex/repos/community-staging-x86_64/PKGBUILD (from rev 944048, perl-text-soundex/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-24 08:36:59 UTC (rev 944051)
@@ -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=9
+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