diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 21:31:11 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 21:31:11 +0000 |
commit | 6f48bfd3c49ba678cd0b515ca820274a6410335a (patch) | |
tree | 1d4ba4fa14dc5f49bd7088fbd34abd3b889970f7 /user/perl-class-load/APKBUILD | |
parent | 6df7525bbf1cb73e2b94d137c06475b0df602ccb (diff) | |
download | packages-6f48bfd3c49ba678cd0b515ca820274a6410335a.tar.gz packages-6f48bfd3c49ba678cd0b515ca820274a6410335a.tar.bz2 packages-6f48bfd3c49ba678cd0b515ca820274a6410335a.tar.xz packages-6f48bfd3c49ba678cd0b515ca820274a6410335a.zip |
user/perl-class-load: new package
Diffstat (limited to 'user/perl-class-load/APKBUILD')
-rw-r--r-- | user/perl-class-load/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-class-load/APKBUILD b/user/perl-class-load/APKBUILD new file mode 100644 index 000000000..a90d30bff --- /dev/null +++ b/user/perl-class-load/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-class-load +pkgver=0.25 +pkgrel=0 +pkgdesc="Perl module for loading classes" +url="https://metacpan.org/release/Class-Load" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl-data-optlist perl-module-implementation perl-module-runtime + perl-package-stash perl-try-tiny" +makedepends="perl-dev" +checkdepends="perl-test-fatal perl-test-needs" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Class-Load-$pkgver.tar.gz" +builddir="$srcdir/Class-Load-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="feacb4ae99358d3dc45b23b2d7cc814603e59a72424e7e0620d4939fa6d6206a1bb123c010b49013ce4764df11dc7c04fc1d7bd5783c61a391310bcb653e7ca4 Class-Load-0.25.tar.gz" |