[arch-commits] Commit in perl-xml-sax-writer/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Jun 1 18:17:42 UTC 2017


    Date: Thursday, June 1, 2017 @ 18:17:41
  Author: foutrelis
Revision: 232529

archrelease: copy trunk to community-staging-any

Added:
  perl-xml-sax-writer/repos/community-staging-any/
  perl-xml-sax-writer/repos/community-staging-any/PKGBUILD
    (from rev 232527, perl-xml-sax-writer/trunk/PKGBUILD)

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

Copied: perl-xml-sax-writer/repos/community-staging-any/PKGBUILD (from rev 232527, perl-xml-sax-writer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 18:17:41 UTC (rev 232529)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Ondrej Kucera <ondrej.kucera at centrum.cz>
+
+pkgname=perl-xml-sax-writer
+pkgver=0.56
+pkgrel=2
+pkgdesc="XML-SAX-Writer perl module (SAX2 writer)"
+arch=("any")
+url="http://search.cpan.org/dist/XML-SAX-Writer/"
+license=("PerlArtistic")
+depends=('perl' 'perl-text-iconv' 'perl-xml-filter-buffertext')
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-$pkgver.tar.gz)
+md5sums=('e5fa5e2b2f6867b1aca9b5b43e1ce361')
+
+build() {
+  cd "$srcdir"/XML-SAX-Writer-${pkgver}
+  # Install module into the vendor directories.
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+  make test
+}
+
+package() {
+  cd "$srcdir"/XML-SAX-Writer-${pkgver}
+  make DESTDIR="$pkgdir" install
+
+  # Remove .packlist and perllocal.pod files.
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name 'perllocal.pod' -delete
+}



More information about the arch-commits mailing list