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

Felix Yan felixonmars at archlinux.org
Mon May 24 11:26:05 UTC 2021


    Date: Monday, May 24, 2021 @ 11:26:05
  Author: felixonmars
Revision: 944440

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-filesys-df/repos/community-staging-x86_64/
  perl-filesys-df/repos/community-staging-x86_64/PKGBUILD
    (from rev 944437, perl-filesys-df/trunk/PKGBUILD)

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

Copied: perl-filesys-df/repos/community-staging-x86_64/PKGBUILD (from rev 944437, perl-filesys-df/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-24 11:26:05 UTC (rev 944440)
@@ -0,0 +1,38 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Ian Guthrie <iguthrie [at] aol [dot] com>
+# Contributor: der_FeniX <derfenix [at] gmail [dot] com>
+
+pkgname=perl-filesys-df
+_perl_namespace=Filesys
+_perl_module=Df
+pkgver=0.92
+pkgrel=12
+pkgdesc="Perl extension for filesystem disk space information"
+arch=('x86_64')
+url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
+sha256sums=('fe89cbb427e0e05f1cd97c2dd6d3866ac6b21bc7a85734ede159bdc35479552a')
+options=('!emptydirs')
+
+build() {
+  cd "${_perl_namespace}-${_perl_module}-${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 "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+}



More information about the arch-commits mailing list