diff options
-rw-r--r-- | user/perl-xxx/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-xxx/APKBUILD b/user/perl-xxx/APKBUILD new file mode 100644 index 000000000..96b5264ac --- /dev/null +++ b/user/perl-xxx/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=perl-xxx +_pkgreal=XXX +_author=INGY +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=0.38 +pkgrel=0 +pkgdesc="See raw data structures anywhere in Perl" +url="https://metacpan.org/pod/XXX" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-1.0+" +depends="perl perl-yaml-pp" +makedepends="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="bb157d2efed5a832633481c52de0486780bf4f16cfc39f76d983d4ee3dc6cb6a6e88b7d28357884bce39befc1b6571525ba68332b2e44b35565160cd911d09bc XXX-0.38.tar.gz" |