[arch-commits] Commit in libxml-perl/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:11:48 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:11:47
  Author: felixonmars
Revision: 660028

archrelease: copy trunk to community-staging-any

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

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

Copied: libxml-perl/repos/community-staging-any/PKGBUILD (from rev 660027, libxml-perl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 18:11:47 UTC (rev 660028)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: François Charette <firmicus at gmx.net>
+
+pkgname=libxml-perl
+pkgver=0.08
+pkgrel=8
+pkgdesc="Perl library for working with XML"
+arch=('any')
+url="https://search.cpan.org/~KMACLEOD/$pkgname"
+license=('GPL' 'PerlArtistic')
+depends=('perl-xml-parser')
+options=('!emptydirs')
+source=("https://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
+}



More information about the arch-commits mailing list