mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
testing/perl-ppix-quotelike: new aport
This commit is contained in:
parent
84a82801d2
commit
9e1d2b3a2f
34
testing/perl-ppix-quotelike/APKBUILD
Normal file
34
testing/perl-ppix-quotelike/APKBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
||||
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
||||
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
|
||||
"
|
Loading…
Reference in New Issue
Block a user