[arch-commits] Commit in perl-xml-parser/repos (4 files)
Evangelos Foutras
foutrelis at nymeria.archlinux.org
Sun May 19 16:20:54 UTC 2013
Date: Sunday, May 19, 2013 @ 18:20:54
Author: foutrelis
Revision: 185860
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
perl-xml-parser/repos/staging-i686/
perl-xml-parser/repos/staging-i686/PKGBUILD
(from rev 185859, perl-xml-parser/trunk/PKGBUILD)
perl-xml-parser/repos/staging-x86_64/
perl-xml-parser/repos/staging-x86_64/PKGBUILD
(from rev 185859, perl-xml-parser/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
Copied: perl-xml-parser/repos/staging-i686/PKGBUILD (from rev 185859, perl-xml-parser/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-05-19 16:20:54 UTC (rev 185860)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer:
+# Contributor: firmicus <francois at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+# Contributor: herb <hrose at archlinux.org>
+
+pkgname=perl-xml-parser
+_realname=XML-Parser
+pkgver=2.41
+pkgrel=4
+pkgdesc="Expat-based XML parser module for perl"
+arch=('i686' 'x86_64')
+license=('GPL' 'PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl' 'expat')
+replaces=('perlxml')
+provides=("perlxml=${pkgver}")
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/${_realname}-${pkgver}.tar.gz")
+md5sums=('c320d2ffa459e6cdc6f9f59c1185855e')
+
+build() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+
+ # remove perllocal.pod and .packlist.
+ find "${pkgdir}" -name perllocal.pod -delete
+ find "${pkgdir}" -name .packlist -delete
+}
Copied: perl-xml-parser/repos/staging-x86_64/PKGBUILD (from rev 185859, perl-xml-parser/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2013-05-19 16:20:54 UTC (rev 185860)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer:
+# Contributor: firmicus <francois at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+# Contributor: herb <hrose at archlinux.org>
+
+pkgname=perl-xml-parser
+_realname=XML-Parser
+pkgver=2.41
+pkgrel=4
+pkgdesc="Expat-based XML parser module for perl"
+arch=('i686' 'x86_64')
+license=('GPL' 'PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl' 'expat')
+replaces=('perlxml')
+provides=("perlxml=${pkgver}")
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/${_realname}-${pkgver}.tar.gz")
+md5sums=('c320d2ffa459e6cdc6f9f59c1185855e')
+
+build() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+
+ # remove perllocal.pod and .packlist.
+ find "${pkgdir}" -name perllocal.pod -delete
+ find "${pkgdir}" -name .packlist -delete
+}
More information about the arch-commits
mailing list