diff --git a/testing/perl-ppix-quotelike/APKBUILD b/testing/perl-ppix-quotelike/APKBUILD new file mode 100644 index 00000000000..dd7fdee6342 --- /dev/null +++ b/testing/perl-ppix-quotelike/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Duncan Bellamy +# Maintainer: Duncan Bellamy +pkgname=perl-ppix-quotelike +pkgver=0.023 +pkgrel=0 +pkgdesc="Parse Perl string literals and string-literal-like things" +url="https://metacpan.org/pod/PPIx::QuoteLike" +arch="noarch" +license="GPL-1.0-only OR Artistic-1.0-Perl" +depends="perl-ppi" +makedepends="perl-dev perl-ppix-regexp perl-readonly" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/W/WY/WYANT/PPIx-QuoteLike-$pkgver.tar.gz" +builddir="$srcdir/PPIx-QuoteLike-$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=" +63a14b7d3337162ba2a4ac60195a45eb0a00084d77eb07fa98bd3c848e098279d7ad0f2dc08694dea40fe23006e2e0ded970d602b2a940009d29d47c604c45cd PPIx-QuoteLike-0.023.tar.gz +"