[arch-commits] Commit in perl-data-uuid/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 24 11:47:08 UTC 2021


    Date: Monday, May 24, 2021 @ 11:47:08
  Author: felixonmars
Revision: 944698

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-data-uuid/repos/community-staging-x86_64/
  perl-data-uuid/repos/community-staging-x86_64/PKGBUILD
    (from rev 944697, perl-data-uuid/trunk/PKGBUILD)

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

Copied: perl-data-uuid/repos/community-staging-x86_64/PKGBUILD (from rev 944697, perl-data-uuid/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-24 11:47:08 UTC (rev 944698)
@@ -0,0 +1,39 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=perl-data-uuid
+_perl_namespace=Data
+_perl_module=UUID
+pkgver=1.226
+pkgrel=2
+pkgdesc="Globally/Universally Unique Identifiers (GUIDs/UUIDs)"
+arch=('x86_64')
+url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}"
+license=('BSD')
+depends=('perl')
+source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
+sha256sums=('093d57ffa0d411a94bafafae495697db26f5c9d0277198fe3f7cf2be22996453')
+options=('!emptydirs')
+
+build() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+  # Install license file
+  install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "LICENSE"
+}



More information about the arch-commits mailing list