1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 11:19:50 +03:00
aports/testing/perl-catalyst-authentication-credential-http/APKBUILD

37 lines
1.4 KiB
Text

# Contributor: Wen Heping <wenheping2000@hotmail.com>
# Maintainer: Wen Heping <wenheping2000@hotmail.com>
pkgname=perl-catalyst-authentication-credential-http
pkgver=1.018
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Catalyst-Authentication-Credential-HTTP
pkgdesc="HTTP Basic and Digest authentication for Catalyst"
url="https://metacpan.org/release/Catalyst-Authentication-Credential-HTTP/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="
perl perl-catalyst-runtime perl-catalyst-plugin-authentication perl-class-accessor
perl-data-uuid perl-string-escape perl-uri
"
makedepends="perl-module-build-tiny perl-module-build"
checkdepends="perl-catalyst-runtime perl-http-message perl-test-exception perl-test-mockobject perl-test-needs"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Catalyst-Authentication-Credential-HTTP-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
options="!check" # There is no Devel::Peek in our perl
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL \
--installdirs=vendor \
--create_packlist=0
./Build
}
package() {
./Build install --destdir="$pkgdir"
}
sha512sums="
61dfcb2c42eea0b44bfda52681fd57d54a97cc830b9d1ce22838c4b8e8bf08f0a92c12fb2b434c89c194215af85d8be6e13083685597bec5f9b4dadeacca01d3 Catalyst-Authentication-Credential-HTTP-1.018.tar.gz
"