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

Felix Yan felixonmars at archlinux.org
Tue Jun 11 08:53:15 UTC 2019


    Date: Tuesday, June 11, 2019 @ 08:53:15
  Author: felixonmars
Revision: 480266

archrelease: copy trunk to community-x86_64

Added:
  perl-sys-virt/repos/community-x86_64/
  perl-sys-virt/repos/community-x86_64/PKGBUILD
    (from rev 480265, perl-sys-virt/trunk/PKGBUILD)

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

Copied: perl-sys-virt/repos/community-x86_64/PKGBUILD (from rev 480265, perl-sys-virt/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-06-11 08:53:15 UTC (rev 480266)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-sys-virt
+pkgver=5.2.0
+pkgrel=1
+pkgdesc="Represent and manage a libvirt hypervisor connection"
+arch=('x86_64')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Sys-Virt"
+depends=('libvirt' 'perl')
+makedepends=('perl-cpan-changes' 'perl-module-build' 'perl-xml-xpath' 'perl-test-pod'
+             'perl-test-pod-coverage')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/D/DA/DANBERR/Sys-Virt-v$pkgver.tar.gz")
+sha512sums=('9be071b09167ef7ce1763a2aefef33cf463cff871051777c522302ce3d2ac930e908f5d2ebd6bebbe1742af3d4878198d14167b28ee18468b49cb09623967e7e')
+
+build() {
+  cd Sys-Virt-v$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Sys-Virt-v$pkgver
+  make test
+}
+
+package() {
+  cd Sys-Virt-v$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list