mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/perl-encode-newlines: new aport
This commit is contained in:
parent
942fec2ecf
commit
8becbb5e1d
37
testing/perl-encode-newlines/APKBUILD
Normal file
37
testing/perl-encode-newlines/APKBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# Automatically generated by apkbuild-cpan, template 3
|
||||
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
||||
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
||||
pkgname=perl-encode-newlines
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Encode-Newlines
|
||||
pkgver=0.05
|
||||
pkgrel=0
|
||||
pkgdesc="Normalize line ending sequences"
|
||||
url="https://metacpan.org/release/Encode-Newlines/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl"
|
||||
makedepends="perl-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/N/NE/NEILB/Encode-Newlines-$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="
|
||||
d2de26a17998d84e032d29f561662cba8e708c68fcfd988a4917e7d15c025a4e0f12c8e475c503a65545bca5dee0fe325929049ac3e0de9bf08d4967416d8726 Encode-Newlines-0.05.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user