aports/main/perl-authen-sasl/APKBUILD
2024-02-21 07:47:35 +00:00

35 lines
908 B
Text

# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-authen-sasl
_pkgreal=Authen-SASL
pkgver=2.1700
pkgrel=0
pkgdesc="SASL Authentication framework for perl"
url="https://metacpan.org/release/Authen-SASL"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-digest-hmac"
makedepends="perl-module-install"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/EH/EHUELS/Authen-SASL-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
sha512sums="
f2b7bef711535b2f11f2c75948c83df0d73cb830ecf101ecd36bc7435bf27677a526b5530e314798805d8a6c5be922909436ba2c9b84abedf7f36d2aa3e0727a Authen-SASL-2.1700.tar.gz
"