[arch-commits] Commit in perl-xml-namespacesupport/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Nov 8 12:46:49 UTC 2018


    Date: Thursday, November 8, 2018 @ 12:46:48
  Author: felixonmars
Revision: 338370

update source and format

Modified:
  perl-xml-namespacesupport/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-08 12:45:50 UTC (rev 338369)
+++ PKGBUILD	2018-11-08 12:46:48 UTC (rev 338370)
@@ -10,11 +10,11 @@
 license=('GPL')
 depends=('perl')
 options=('!emptydirs')
-source=("http://www.cpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-${pkgver}.tar.gz")
+source=("https://www.cpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-${pkgver}.tar.gz")
 md5sums=('a8916c6d095bcf073e1108af02e78c97')
 
 build() {
-  cd  "${srcdir}/XML-NamespaceSupport-${pkgver}"
+  cd XML-NamespaceSupport-$pkgver
 
   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
   make
@@ -21,10 +21,10 @@
 }
 
 package() {
-  cd  "${srcdir}/XML-NamespaceSupport-${pkgver}"
+  cd XML-NamespaceSupport-$pkgver
 
-  make install DESTDIR="${pkgdir}"
+  make install DESTDIR="$pkgdir"
 
-  find ${pkgdir} -name '.packlist' -delete
-  find ${pkgdir} -name '*.pod' -delete
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
 }



More information about the arch-commits mailing list