aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-authen-ntlm/APKBUILD
blob: dd9a9a83a00b81d1d1c0e7481e1b97012e41a5d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-authen-ntlm
pkgver=1.09
_realname=NTLM-$pkgver
pkgrel=0
pkgdesc="NTLM authentication for Mail::IMAPClient"
url="http://search.cpan.org/dist/NTLM/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/N/NB/NBEBOUT/$_realname.tar.gz"

_builddir="$srcdir"/$_realname

build() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="da314ee94b14af2a2f39b6f2c0046e73  NTLM-1.09.tar.gz"
sha256sums="c823e30cda76bc15636e584302c960e2b5eeef9517c2448f7454498893151f85  NTLM-1.09.tar.gz"
sha512sums="faae9a4a39f483a9612e5a7daec15bb8ddd940ccc73e52372dd004a9067336fccc4c490deafb3eaa0cf56c0dfe3a085cb6bba38631a5122c2f2fa6e960845039  NTLM-1.09.tar.gz"