Date: Tuesday, February 13, 2018 @ 12:39:50
  Author: spupykin
Revision: 293845

upgpkg: perl-xml-atom 0.42-1

Modified:
  perl-xml-atom/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-13 12:39:43 UTC (rev 293844)
+++ PKGBUILD    2018-02-13 12:39:50 UTC (rev 293845)
@@ -3,27 +3,28 @@
 # Contributor: Francois Charette <firmi...@gmx.net>
 
 pkgname=perl-xml-atom
-pkgver=0.41
-pkgrel=3
+pkgver=0.42
+pkgrel=1
 pkgdesc="Atom feed and API implementation "
 arch=('any')
 url="http://search.cpan.org/dist/XML-Atom";
 license=('GPL' 'PerlArtistic')
-depends=('perl-class-data-inheritable' 'perl-uri' 'perl-xml-libxml>=1.64' 
'perl-xml-xpath')
+depends=('perl-class-data-inheritable' 'perl-uri' 'perl-xml-libxml>=1.64'
+        'perl-xml-xpath')
+makedepends=('perl-module-build-tiny')
 options=('!emptydirs')
 source=(https://www.cpan.org/authors/id/M/MI/MIYAGAWA/XML-Atom-$pkgver.tar.gz)
-sha256sums=('48cac6c7841a430fa8de54dc3b876a018fbd442c122e41cc1713e6ead39a969e')
+sha256sums=('c61b46b89ddcff43d202573943a35088d899af879cd4d8ff3caf121ebc9b48f1')
 
 build() {
   cd  "$srcdir"/XML-Atom-$pkgver
-  sed -i "s|recommends('LWP::Authen::Wsse'),||g" Makefile.PL
-  PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
-  make
+  perl Build.PL installdirs=vendor destdir="$pkgdir/"
+  ./Build
 }
 
 package() {
   cd  "$srcdir"/XML-Atom-$pkgver
-  make install DESTDIR="$pkgdir"
+  ./Build install --destdir="$pkgdir/"
   find "$pkgdir" -name '.packlist' -delete
   find "$pkgdir" -name '*.pod' -delete
 }

Reply via email to