[arch-commits] Commit in perl-text-soundex/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 09:05:20 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:05:19
Author: foutrelis
Revision: 366240
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 366239, perl-text-soundex/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: perl-text-soundex/repos/community-staging-x86_64/PKGBUILD (from rev 366239, perl-text-soundex/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-08-01 09:05:19 UTC (rev 366240)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Contributor: Ben Booth <benwbooth at gmail.com>
+
+pkgname=perl-text-soundex
+pkgver=3.05
+pkgrel=5
+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