[arch-commits] Commit in perl-xml-parser/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat May 25 09:17:03 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:17:03
  Author: felixonmars
Revision: 354047

archrelease: copy trunk to staging-x86_64

Added:
  perl-xml-parser/repos/staging-x86_64/
  perl-xml-parser/repos/staging-x86_64/PKGBUILD
    (from rev 354044, perl-xml-parser/trunk/PKGBUILD)

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

Copied: perl-xml-parser/repos/staging-x86_64/PKGBUILD (from rev 354044, perl-xml-parser/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-05-25 09:17:03 UTC (rev 354047)
@@ -0,0 +1,29 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-xml-parser
+pkgver=2.44
+pkgrel=8
+pkgdesc="Expat-based XML parser module for perl"
+arch=('x86_64')
+license=('GPL' 'PerlArtistic')
+url="https://search.cpan.org/dist/XML-Parser/"
+depends=('perl' 'expat')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-${pkgver}.tar.gz")
+sha1sums=('0ab6b932713ec1f9927a1b1c619b6889a5c12849')
+
+build() {
+  cd XML-Parser-${pkgver}
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd XML-Parser-${pkgver}
+  make test
+}
+
+package() {
+  cd XML-Parser-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list