Date: Saturday, May 25, 2019 @ 11:44:56
  Author: foutrelis
Revision: 470461

archrelease: copy trunk to community-staging-any

Added:
  perl-xml-libxml-prettyprint/repos/community-staging-any/
  perl-xml-libxml-prettyprint/repos/community-staging-any/PKGBUILD
    (from rev 470460, perl-xml-libxml-prettyprint/trunk/PKGBUILD)

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

Copied: perl-xml-libxml-prettyprint/repos/community-staging-any/PKGBUILD (from 
rev 470460, perl-xml-libxml-prettyprint/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2019-05-25 11:44:56 UTC (rev 470461)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Florian Pritz <bluew...@xinu.at>
+
+pkgname=perl-xml-libxml-prettyprint
+pkgver=0.006
+pkgrel=4
+pkgdesc='Add pleasant whitespace to a DOM tree'
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=(!emptydirs)
+depends=('perl' 'perl-exporter-tiny' 'perl-xml-libxml')
+checkdepends=('perl-test-warnings')
+url=https://metacpan.org/release/XML-LibXML-PrettyPrint
+source=("http://search.cpan.org/CPAN/authors/id/T/TO/TOBYINK/XML-LibXML-PrettyPrint-$pkgver.tar.gz";)
+sha512sums=('d00259555cb2cc4bef8e20216798a9f800565cc831098320ffb0b47dc7fbd84d89002ec8b9c6df3808e5c5ddf2ccb2f26a1f3839c57224bc2cccfd0725ad3fcd')
+_ddir="XML-LibXML-PrettyPrint-$pkgver"
+
+build() {
+  cd "$srcdir/$_ddir"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "$srcdir/$_ddir"
+  make test
+}
+
+package() {
+  cd "$srcdir/$_ddir"
+  make install DESTDIR="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to