mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/perl-module-install-authorrequires: new aport
declare author-only dependencies https://metacpan.org/release/Module-Install-AuthorRequires/
This commit is contained in:
parent
9629656da2
commit
1de6da22a5
35
testing/perl-module-install-authorrequires/APKBUILD
Normal file
35
testing/perl-module-install-authorrequires/APKBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Automatically generated by apkbuild-cpan, template 2
|
||||
# Contributor: Timothy Legge <timlegge@gmail.com>
|
||||
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
||||
pkgname=perl-module-install-authorrequires
|
||||
_pkgreal=Module-Install-AuthorRequires
|
||||
pkgver=0.02
|
||||
pkgrel=0
|
||||
pkgdesc="declare author-only dependencies"
|
||||
url="https://metacpan.org/release/Module-Install-AuthorRequires/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
cpandepends="perl-module-install"
|
||||
depends="$cpandepends"
|
||||
makedepends="perl-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/F/FL/FLORA/Module-Install-AuthorRequires-$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
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="66d2a603e5700eca0a93523b6adcd0330d439b41730b7ccb2606fc4e43e4b6620cf376637fcbbe71d4733ce144c46822fecac39d4bed3d5303b68863425d9819 Module-Install-AuthorRequires-0.02.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user