[arch-commits] Commit in perl-alien-libxml2/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 15:25:32 UTC 2020


    Date: Sunday, June 21, 2020 @ 15:25:31
  Author: felixonmars
Revision: 389856

archrelease: copy trunk to staging-any

Added:
  perl-alien-libxml2/repos/staging-any/
  perl-alien-libxml2/repos/staging-any/PKGBUILD
    (from rev 389854, perl-alien-libxml2/trunk/PKGBUILD)

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

Copied: perl-alien-libxml2/repos/staging-any/PKGBUILD (from rev 389854, perl-alien-libxml2/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-06-21 15:25:31 UTC (rev 389856)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-alien-libxml2
+pkgver=0.16
+pkgrel=2
+pkgdesc="Install the C libxml2 library on your system"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Alien-Libxml2"
+depends=('libxml2' 'perl-alien-build')
+makedepends=('perl-html-parser' 'perl-sort-versions' 'perl-test2-suite' 'perl-uri')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Alien-Libxml2-$pkgver.tar.gz")
+sha512sums=('54d3f670047b26934140be28bec5ab27c655daa459409bda00655d6f652f5099b07d2e286f59825a36e7dc56bca1e92a0af19c33582fa90f3f26aff4202334ac')
+
+build() {
+  cd Alien-Libxml2-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Alien-Libxml2-$pkgver
+  make test
+}
+
+package() {
+  cd Alien-Libxml2-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list