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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 11:58:31 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:58:31
  Author: felixonmars
Revision: 1214603

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 1214598, perl-unicode-string/trunk/PKGBUILD)

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

Copied: perl-unicode-string/repos/community-staging-x86_64/PKGBUILD (from rev 1214598, perl-unicode-string/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-29 11:58:31 UTC (rev 1214603)
@@ -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=6
+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