[arch-commits] Commit in perl-unicode-stringprep/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 10:42:30 UTC 2021
Date: Monday, May 24, 2021 @ 10:42:30
Author: foutrelis
Revision: 944292
archrelease: copy trunk to community-staging-any
Added:
perl-unicode-stringprep/repos/community-staging-any/
perl-unicode-stringprep/repos/community-staging-any/PKGBUILD
(from rev 944289, perl-unicode-stringprep/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: perl-unicode-stringprep/repos/community-staging-any/PKGBUILD (from rev 944289, perl-unicode-stringprep/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 10:42:30 UTC (rev 944292)
@@ -0,0 +1,44 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-unicode-stringprep
+pkgver=1.105
+pkgrel=7
+pkgdesc="Preparation of Internationalized Strings (RFC 3454)"
+arch=('any')
+url="https://search.cpan.org/dist/Unicode-Stringprep/"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+makedepends=('perl-module-build>=0.42')
+checkdepends=('perl-test-nowarnings')
+provides=("perl-unicode-stringprep-bidi=$pkgver" "perl-unicode-stringprep-mapping=$pkgver"
+ "perl-unicode-stringprep-prohibited=$pkgver" "perl-unicode-stringprep-unassigned=$pkgver")
+options=(!emptydirs)
+source=("https://search.cpan.org/CPAN/authors/id/C/CF/CFAERBER/Unicode-Stringprep-$pkgver.tar.gz")
+md5sums=('bf9ffbc387cc12d67a3875be1cd8e105')
+_ddir="Unicode-Stringprep-$pkgver"
+
+build()
+(
+ cd "$srcdir/$_ddir"
+ export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
+ unset PERL5LIB PERL_MB_OPT
+ /usr/bin/perl Build.PL
+ ./Build
+)
+
+check()
+(
+ cd "$srcdir/$_ddir"
+ export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
+ unset PERL5LIB PERL_MB_OPT
+ ./Build test
+)
+
+package()
+(
+ cd "$srcdir/$_ddir"
+ export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
+ unset PERL5LIB PERL_MB_OPT
+ ./Build install installdirs=vendor destdir="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+)
More information about the arch-commits
mailing list