[arch-commits] Commit in perl-data-uuid/trunk (PKGBUILD)

Fabio Castelli muflone at archlinux.org
Sun Apr 1 01:52:46 UTC 2018


    Date: Sunday, April 1, 2018 @ 01:52:45
  Author: muflone
Revision: 313684

upgpkg: perl-data-uuid 1.221-3

Modified:
  perl-data-uuid/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-01 01:47:40 UTC (rev 313683)
+++ PKGBUILD	2018-04-01 01:52:45 UTC (rev 313684)
@@ -2,31 +2,32 @@
 # Maintainer: Muflone http://www.muflone.com/contacts/english/
 
 pkgname=perl-data-uuid
-_perl_module=Data-UUID
+_perl_namespace=Data
+_perl_module=UUID
 pkgver=1.221
-pkgrel=2
+pkgrel=3
 pkgdesc="Globally/Universally Unique Identifiers (GUIDs/UUIDs)"
 arch=('x86_64')
-url="https://metacpan.org/release/${_perl_module}"
+url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}"
 license=('BSD')
 depends=('perl')
-source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/${_perl_module}-${pkgver}.tar.gz")
+source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
 sha256sums=('3cc7b2a3a7b74b45a059e013f7fd878078500ea4b7269036f84556b022078667')
 options=('!emptydirs')
 
 build() {
-  cd "${_perl_module}-${pkgver}"
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
   perl Makefile.PL
   make
 }
 
 check() {
-  cd "${_perl_module}-${pkgver}"
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
   make test
 }
 
 package() {
-  cd "${_perl_module}-${pkgver}"
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
   make pure_install DESTDIR="${pkgdir}"
   # Install license file
   install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"



More information about the arch-commits mailing list