Date: Wednesday, July 23, 2014 @ 11:15:32
  Author: fyan
Revision: 116145

archrelease: copy trunk to community-any

Added:
  libxml-perl/repos/community-any/
  libxml-perl/repos/community-any/PKGBUILD
    (from rev 116144, libxml-perl/trunk/PKGBUILD)

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

Copied: libxml-perl/repos/community-any/PKGBUILD (from rev 116144, 
libxml-perl/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2014-07-23 09:15:32 UTC (rev 116145)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@gmail.com>
+# Contributor: Limao Luo <luolimao+...@gmail.com>
+# Contributor: Chris Brannon <cmbranno...@gmail.com>
+# Contributor: François Charette <firmi...@gmx.net>
+
+pkgname=libxml-perl
+pkgver=0.08
+pkgrel=5
+pkgdesc="Perl library for working with XML"
+arch=('any')
+url="http://search.cpan.org/~KMACLEOD/$pkgname";
+license=('GPL' 'PerlArtistic')
+depends=('perl-xml-parser')
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/K/KM/KMACLEOD/$pkgname-$pkgver.tar.gz";)
+sha512sums=('66c1874a04b746334d4324ab37ee057c6da7fa7191dffae2900e0832dab3b2ededc5cbdc5e838c0d57c22161c9cf196ab40b62f61338d4c994bda9fa7b1a7702')
+
+build() {
+  cd $pkgname-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make test
+}
+
+package() {
+  make -C $pkgname-$pkgver/ DESTDIR="$pkgdir" install
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}

Reply via email to