[arch-commits] Commit in perl-xml-libxml-simple/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 11:08:48 UTC 2018
Date: Wednesday, August 1, 2018 @ 11:08:47
Author: bluewind
Revision: 366456
archrelease: copy trunk to community-staging-any
Added:
perl-xml-libxml-simple/repos/community-staging-any/
perl-xml-libxml-simple/repos/community-staging-any/PKGBUILD
(from rev 366455, perl-xml-libxml-simple/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: perl-xml-libxml-simple/repos/community-staging-any/PKGBUILD (from rev 366455, perl-xml-libxml-simple/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 11:08:47 UTC (rev 366456)
@@ -0,0 +1,37 @@
+# $ID$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=perl-xml-libxml-simple
+_dist=XML-LibXML-Simple
+pkgver=0.99
+pkgrel=2
+pkgdesc="An analogue of XML::Simple using libxml"
+arch=('any')
+url="https://metacpan.org/release/${_dist}"
+license=('PerlArtistic' 'GPL')
+depends=('perl' 'perl-xml-libxml' 'perl-file-slurp-tiny')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/${_dist}-${pkgver}.tar.gz)
+md5sums=('15b7cbe0887e292057fbcfcb3d87ef2e')
+sha512sums=('806e039eefb447c43c747d1621bb432a3df13cb36798853ef2fe8a0ccaa1d7651d67fd6d386e19936100ffd4c04185004e5f0bb4ced66ed544efb6d6157b4e47')
+
+build() {
+ cd "${srcdir}/${_dist}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "${srcdir}/${_dist}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+ make test
+}
+
+package() {
+ cd "${srcdir}/${_dist}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}
More information about the arch-commits
mailing list