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

Felix Yan felixonmars at archlinux.org
Thu Nov 8 12:45:51 UTC 2018


    Date: Thursday, November 8, 2018 @ 12:45:50
  Author: felixonmars
Revision: 338369

update source and format

Modified:
  perl-xml-sax-base/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-08 12:44:14 UTC (rev 338368)
+++ PKGBUILD	2018-11-08 12:45:50 UTC (rev 338369)
@@ -10,23 +10,23 @@
 license=('GPL' 'PerlArtistic')
 depends=('perl')
 options=('!emptydirs')
-source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$pkgver.tar.gz")
+source=("https://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$pkgver.tar.gz")
 md5sums=('ec347a14065dd7aec7d9fb181b2d7946')
 
 build() {
-  cd  $srcdir/XML-SAX-Base-$pkgver
+  cd XML-SAX-Base-$pkgver
   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
   make
 }
 
 check() {
-  cd  $srcdir/XML-SAX-Base-$pkgver
+  cd XML-SAX-Base-$pkgver
   make test
 }
 
 package() {
-  cd  $srcdir/XML-SAX-Base-$pkgver
-  make install DESTDIR=$pkgdir
+  cd XML-SAX-Base-$pkgver
+  make install DESTDIR="$pkgdir"
 
   find $pkgdir -name '.packlist' -delete
   find $pkgdir -name '*.pod' -delete


More information about the arch-commits mailing list