[arch-commits] Commit in perl-unicode-string/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 24 11:26:45 UTC 2021


    Date: Monday, May 24, 2021 @ 11:26:45
  Author: felixonmars
Revision: 944461

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-unicode-string/repos/community-staging-x86_64/
  perl-unicode-string/repos/community-staging-x86_64/PKGBUILD
    (from rev 944456, perl-unicode-string/trunk/PKGBUILD)

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

Copied: perl-unicode-string/repos/community-staging-x86_64/PKGBUILD (from rev 944456, perl-unicode-string/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-24 11:26:45 UTC (rev 944461)
@@ -0,0 +1,38 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Simon Perry <aur [at] sanxion [dot] net>
+# Contributor: James Rayner <iphitus at gmail.com>
+# Contributor: Andrew Simmons <andrew.simmons at gmail.com>
+
+pkgname=perl-unicode-string
+_realname=Unicode-String
+pkgver=2.10
+pkgrel=5
+pkgdesc='String of Unicode characters for perl (UCS2/UTF16)'
+arch=('x86_64')
+license=('GPL')
+url='https://metacpan.org/release/Unicode-String/'
+depends=('perl')
+options=('!emptydirs' purge)
+source=("https://cpan.metacpan.org/authors/id/G/GA/GAAS/GAAS/Unicode-String-${pkgver}.tar.gz")
+b2sums=('4d7769b74fd85e197aa1bf8a22a57f3dc519b30bb1c1d47fa1f1de6faeb47e2a0351a580a2c34c158b13a37a43d9e5b7864c2333143d335f129219efb5451857')
+
+build() {
+  cd Unicode-String-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd Unicode-String-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package() {
+  cd Unicode-String-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+}



More information about the arch-commits mailing list