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

Felix Yan felixonmars at archlinux.org
Mon May 24 11:34:48 UTC 2021


    Date: Monday, May 24, 2021 @ 11:34:48
  Author: felixonmars
Revision: 944633

archrelease: copy trunk to community-staging-any

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

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

Copied: perl-ntlm/repos/community-staging-any/PKGBUILD (from rev 944627, perl-ntlm/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 11:34:48 UTC (rev 944633)
@@ -0,0 +1,36 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Eduardo Leggiero <https://www.leggiero.uk/>
+
+pkgname=perl-ntlm
+pkgver=1.09
+pkgrel=6
+pkgdesc='Perl/CPAN module NTLM'
+arch=('any')
+url='https://metacpan.org/release/NTLM'
+license=('GPL')
+depends=('perl')
+makedepends=('perl-digest-hmac')
+options=('!emptydirs' purge)
+source=("https://cpan.metacpan.org/authors/id/N/NB/NBEBOUT/NTLM-${pkgver}.tar.gz")
+b2sums=('dbf8f4497f2e57c72ad6a5dc6ff21e3cba35bdeee1ebccfc9efecb04a9808b7f3fb929c055acb7038f2990e6ef6a553a09573af70b065ffc74a72fba223e2fae')
+
+build() {
+  cd NTLM-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd NTLM-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package(){
+  cd NTLM-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list