mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Timothy Legge <timlegge@gmail.com>
|
|
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
|
pkgname=perl-mouse
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Mouse
|
|
pkgver=2.5.10
|
|
pkgrel=1
|
|
pkgdesc="Perl module for Mouse"
|
|
url="https://metacpan.org/release/Mouse/"
|
|
arch="all"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-module-build perl-module-build-xsutil"
|
|
makedepends="perl-dev"
|
|
checkdepends="perl-regexp-common perl-moose perl-path-class perl-test-leaktrace
|
|
perl-test-requires perl-pod-coverage perl-test-exception perl-test-output"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/S/SK/SKAJI/Mouse-v2.5.10.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-v$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
perl Build.PL --installdirs=vendor
|
|
./Build
|
|
}
|
|
|
|
check() {
|
|
./Build test
|
|
}
|
|
|
|
package() {
|
|
./Build install --destdir="$pkgdir"
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="949a2f18257a5afcf4dbbb84094974f4d80e1e4531b4b9d8618cf141252fd11b09b79daafe1de79faa620905988f649627bc2fceac357ea2f180db74cd48f711 Mouse-v2.5.10.tar.gz"
|