[arch-commits] Commit in perl-xml-libxml-prettyprint/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Jun 8 11:20:33 UTC 2017
Date: Thursday, June 8, 2017 @ 11:20:32
Author: felixonmars
Revision: 235408
archrelease: copy trunk to community-any
Added:
perl-xml-libxml-prettyprint/repos/community-any/
perl-xml-libxml-prettyprint/repos/community-any/PKGBUILD
(from rev 235407, perl-xml-libxml-prettyprint/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: perl-xml-libxml-prettyprint/repos/community-any/PKGBUILD (from rev 235407, perl-xml-libxml-prettyprint/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2017-06-08 11:20:32 UTC (rev 235408)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-xml-libxml-prettyprint
+pkgver=0.006
+pkgrel=1
+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:
More information about the arch-commits
mailing list