[arch-commits] Commit in perl-text-soundex/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 08:57:15 UTC 2019
Date: Saturday, May 25, 2019 @ 08:57:15
Author: foutrelis
Revision: 469952
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 469951, perl-text-soundex/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: perl-text-soundex/repos/community-staging-x86_64/PKGBUILD (from rev 469951, perl-text-soundex/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-05-25 08:57:15 UTC (rev 469952)
@@ -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=6
+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=("http://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