mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Timothy Legge <timlegge@gmail.com>
|
|
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
|
pkgname=perl-mouse
|
|
pkgver=2.5.11
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Mouse
|
|
pkgdesc="Moose minus the antlers"
|
|
url="https://metacpan.org/release/Mouse/"
|
|
arch="all"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl"
|
|
makedepends="perl-dev perl-module-build perl-module-build-xsutil"
|
|
checkdepends="perl-regexp-common perl-moose perl-path-class perl-test-leaktrace
|
|
perl-test-requires perl-pod-coverage perl-test-exception perl-test-output
|
|
perl-test-fatal"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/S/SK/SKAJI/Mouse-v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-v$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
perl Build.PL \
|
|
--installdirs=vendor \
|
|
--create_packlist=0
|
|
./Build
|
|
}
|
|
|
|
check() {
|
|
./Build test
|
|
}
|
|
|
|
package() {
|
|
./Build install --destdir="$pkgdir"
|
|
}
|
|
|
|
doc() {
|
|
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
|
|
amove "${file#"$pkgdir"}"
|
|
done
|
|
default_doc
|
|
}
|
|
|
|
sha512sums="
|
|
3c4c09b637711f438bbed7a1de0e074110a5e47573c78e52a545b180733bd892a9d90ec39d538c67a100348638aad1a3a0a7647bdb15e9d88a700aaa2d3ad93d Mouse-v2.5.11.tar.gz
|
|
"
|