[arch-commits] Commit in (4 files)

Frederik Schwan freswa at archlinux.org
Fri Oct 30 17:30:44 UTC 2020


    Date: Friday, October 30, 2020 @ 17:30:44
  Author: freswa
Revision: 736826

move perl-unicode-string from unsupported to [community]

Added:
  perl-unicode-string/
  perl-unicode-string/repos/
  perl-unicode-string/trunk/
  perl-unicode-string/trunk/PKGBUILD

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

Added: perl-unicode-string/trunk/PKGBUILD
===================================================================
--- perl-unicode-string/trunk/PKGBUILD	                        (rev 0)
+++ perl-unicode-string/trunk/PKGBUILD	2020-10-30 17:30:44 UTC (rev 736826)
@@ -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=4
+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