mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
main/perl-test-eol: take over maintainership
This commit is contained in:
parent
c0ca3fad48
commit
fd9964d6ee
@ -1,38 +1,38 @@
|
|||||||
|
# Automatically generated by apkbuild-cpan, template 4
|
||||||
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
|
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
|
||||||
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
pkgname=perl-test-eol
|
pkgname=perl-test-eol
|
||||||
_pkgreal=Test-EOL
|
|
||||||
pkgver=2.02
|
pkgver=2.02
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
|
_pkgreal=Test-EOL
|
||||||
pkgdesc="Check the correct line endings in your project"
|
pkgdesc="Check the correct line endings in your project"
|
||||||
url="https://metacpan.org/release/Test-EOL/"
|
url="https://metacpan.org/release/Test-EOL/"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||||
depends="perl"
|
depends="perl"
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz"
|
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-EOL-$pkgver.tar.gz"
|
||||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
|
||||||
prepare() {
|
|
||||||
default_prepare
|
|
||||||
|
|
||||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
||||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
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
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
|
||||||
make DESTDIR="$pkgdir" install
|
|
||||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
make test
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="03f3a60973fde1c0fb9532be957d981bad657fec4db1b77dca865011e1bf39dcbb91a8ee09cc692ab9b372a139371ba66b69c60ae582b687a6ec230fb58a9654 Test-EOL-2.02.tar.gz"
|
package() {
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
03f3a60973fde1c0fb9532be957d981bad657fec4db1b77dca865011e1bf39dcbb91a8ee09cc692ab9b372a139371ba66b69c60ae582b687a6ec230fb58a9654 Test-EOL-2.02.tar.gz
|
||||||
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user