mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/perl-hash-merge-extra: new aport
This commit is contained in:
parent
ec45498d49
commit
3ff610b66f
1 changed files with 37 additions and 0 deletions
37
testing/perl-hash-merge-extra/APKBUILD
Normal file
37
testing/perl-hash-merge-extra/APKBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
|
||||
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
|
||||
pkgname=perl-hash-merge-extra
|
||||
pkgver=0.06
|
||||
pkgrel=0
|
||||
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Hash-Merge-Extra
|
||||
pkgdesc="Collection of extra behaviors for L<Hash::Merge>"
|
||||
url="https://metacpan.org/release/Hash-Merge-Extra/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl perl-hash-merge"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/M/MI/MIXAS/Hash-Merge-Extra-$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="
|
||||
5a24b2074d1f4ac593596233fd43a742a9c288a1a4200daefd5d0a87170e506055bb80170a75d4ea443928b8f8e44ee853d5b99d4187158ef4254e09a34a8117 Hash-Merge-Extra-0.06.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue