[arch-commits] Commit in perl-xml-twig/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Aug 1 11:12:09 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:12:09
  Author: felixonmars
Revision: 330161

archrelease: copy trunk to staging-any

Added:
  perl-xml-twig/repos/staging-any/
  perl-xml-twig/repos/staging-any/PKGBUILD
    (from rev 330160, perl-xml-twig/trunk/PKGBUILD)

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

Copied: perl-xml-twig/repos/staging-any/PKGBUILD (from rev 330160, perl-xml-twig/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 11:12:09 UTC (rev 330161)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-xml-twig
+pkgver=3.52
+pkgrel=4
+pkgdesc="A module for easy processing of XML"
+arch=('any')
+url="http://search.cpan.org/dist/XML-Twig/"
+license=('GPL' 'PerlArtistic')
+depends=('perl-xml-parser' 'perl-text-iconv' 'perl')
+checkdepends=('perl-libwww' 'perl-test-pod' 'perl-xml-simple' 'perl-html-tree' 'perl-xml-xpath' 'perl-tie-ixhash')
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/M/MI/MIROD/XML-Twig-${pkgver}.tar.gz")
+sha1sums=('ce4ad6f055ea677ab5526e55677faffcc6457eb8')
+
+build() {
+  cd XML-Twig-${pkgver}
+  perl Makefile.PL -y INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd XML-Twig-${pkgver}
+  make test || warning "Tests failed"
+}
+
+package() {
+  cd XML-Twig-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list