aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-authen-digestmd5/APKBUILD
blob: 1061a6642c4b2a209aa1cb4cce5c6d163ebd7a8f (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
35
36
37
38
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=perl-authen-digestmd5
_pkgreal=Authen-DigestMD5
pkgver=0.04
pkgrel=0
pkgdesc="SASL DIGEST-MD5 authentication (RFC2831) "
url="search.cpan.org/dist/Authen-DigestMD5/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
}

build() {
	cd "$_builddir"
	make
}

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

md5sums="f96d3ccc55c4bf551baf59fd8cb51421  Authen-DigestMD5-0.04.tar.gz"
sha256sums="e568b193fa2f752416102543e06be81cf0dd785b881a6e99ecb77c9a07a2fd6c  Authen-DigestMD5-0.04.tar.gz"
sha512sums="b159d487738c22d9a1de2b9e068680697369b905b56370b57e3b3fb46ecea65ce2d3801b5733b032aa7ad8d320b29b551eef1c67304b53a86983e40969e0c14f  Authen-DigestMD5-0.04.tar.gz"