[arch-commits] Commit in perl-ntlm/repos (community-any community-any/PKGBUILD)
Frederik Schwan
freswa at archlinux.org
Fri Oct 30 16:45:42 UTC 2020
Date: Friday, October 30, 2020 @ 16:45:42
Author: freswa
Revision: 736772
archrelease: copy trunk to community-any
Added:
perl-ntlm/repos/community-any/
perl-ntlm/repos/community-any/PKGBUILD
(from rev 736771, perl-ntlm/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: perl-ntlm/repos/community-any/PKGBUILD (from rev 736771, perl-ntlm/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-10-30 16:45:42 UTC (rev 736772)
@@ -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=5
+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