mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 17:16:44 +02:00
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
# Contributor: Wen Heping <wenheping2000@hotmail.com>
|
|
# Maintainer: Wen Heping <wenheping2000@hotmail.com>
|
|
pkgname=perl-moosex-simpleconfig
|
|
pkgver=0.11
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=MooseX-SimpleConfig
|
|
pkgdesc="A Moose role for setting attributes from a simple configuration file"
|
|
url="https://metacpan.org/release/MooseX-SimpleConfig/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-config-any perl-moose perl-moosex-configfromfile"
|
|
makedepends="perl-module-build-tiny perl-module-build"
|
|
checkdepends="perl-moose perl-test-fatal"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/MooseX-SimpleConfig-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$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"
|
|
}
|
|
|
|
sha512sums="
|
|
be8d8336f26d440dbbd390ce4a5720106d691b9583eaa2af0211485176a84cc3831d54f08af8af9f5b0431521a6219efaacfb59e472b9220adcde513f49853f7 MooseX-SimpleConfig-0.11.tar.gz
|
|
"
|