mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/perl-archive-any-lite: new aport
This commit is contained in:
parent
d1a5e9f0a0
commit
5d76046f68
1 changed files with 38 additions and 0 deletions
38
testing/perl-archive-any-lite/APKBUILD
Normal file
38
testing/perl-archive-any-lite/APKBUILD
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
|
||||
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
|
||||
pkgname=perl-archive-any-lite
|
||||
pkgver=0.11
|
||||
pkgrel=0
|
||||
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Archive-Any-Lite
|
||||
pkgdesc="simple CPAN package extractor"
|
||||
url="https://metacpan.org/release/Archive-Any-Lite/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl perl-archive-zip"
|
||||
makedepends="perl-extutils-makemaker-cpanfile perl-test-useallmodules"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/Archive-Any-Lite-$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="
|
||||
40db0122a359d295459b3c146cb1a8b45cadc6bd678c05d9cf32f906e8b99a692c59efe5ca18a2ce05d0ab4b741affa8e7158b7f9cebc4232c4126970c93a890 Archive-Any-Lite-0.11.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue