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

Felix Yan felixonmars at archlinux.org
Sun Jun 21 16:02:17 UTC 2020


    Date: Sunday, June 21, 2020 @ 16:02:16
  Author: felixonmars
Revision: 649558

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 649556, 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 649556, perl-xml-libxml-prettyprint/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 16:02:16 UTC (rev 649558)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-xml-libxml-prettyprint
+pkgver=0.006
+pkgrel=5
+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=("https://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:



More information about the arch-commits mailing list