mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/perl-object-array: new aport
https://metacpan.org/release/Object-Array/ Array references with accessors
This commit is contained in:
parent
52e4e6bc70
commit
2850f4f617
41
testing/perl-object-array/APKBUILD
Normal file
41
testing/perl-object-array/APKBUILD
Normal file
@ -0,0 +1,41 @@
|
||||
# Automatically generated by apkbuild-cpan, template 4
|
||||
# Contributor: Celeste <cielesti@protonmail.com>
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=perl-object-array
|
||||
pkgver=0.060
|
||||
pkgrel=0
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Object-Array
|
||||
pkgdesc="Array references with accessors"
|
||||
url="https://metacpan.org/release/Object-Array/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="
|
||||
perl perl-list-moreutils perl-module-pluggable
|
||||
perl-sub-exporter perl-sub-install
|
||||
"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/H/HD/HDP/Object-Array-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
||||
INSTALLDIRS=vendor \
|
||||
NO_PACKLIST=1 \
|
||||
NO_PERLLOCAL=1
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
8fbe7adb4c48ffa7523fe261f5ac4b18e22940add30997ea4696c7dd37ce1eef88b1b055be1b767f2a9f9bf73fb30a6ae0c18d5b810bab8b0256609cf93bddc3 Object-Array-0.060.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user