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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 12:08:43 UTC 2019


    Date: Saturday, May 25, 2019 @ 12:08:43
  Author: foutrelis
Revision: 470629

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 470628, perl-data-uuid/trunk/PKGBUILD)

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

Copied: perl-data-uuid/repos/community-staging-x86_64/PKGBUILD (from rev 470628, perl-data-uuid/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 12:08:43 UTC (rev 470629)
@@ -0,0 +1,39 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=perl-data-uuid
+_perl_namespace=Data
+_perl_module=UUID
+pkgver=1.221
+pkgrel=6
+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=('3cc7b2a3a7b74b45a059e013f7fd878078500ea4b7269036f84556b022078667')
+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