diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 21:34:27 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 21:34:27 +0000 |
commit | afde3a0c1c6f8fa3a5bf97dc70cf992c6b9c0f27 (patch) | |
tree | d4354a1f9aba1dae6f55b3eda112e2a43cbdee3f /user | |
parent | 6f48bfd3c49ba678cd0b515ca820274a6410335a (diff) | |
download | packages-afde3a0c1c6f8fa3a5bf97dc70cf992c6b9c0f27.tar.gz packages-afde3a0c1c6f8fa3a5bf97dc70cf992c6b9c0f27.tar.bz2 packages-afde3a0c1c6f8fa3a5bf97dc70cf992c6b9c0f27.tar.xz packages-afde3a0c1c6f8fa3a5bf97dc70cf992c6b9c0f27.zip |
user/perl-class-load-xs: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-class-load-xs/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-class-load-xs/APKBUILD b/user/perl-class-load-xs/APKBUILD new file mode 100644 index 000000000..ebdcca147 --- /dev/null +++ b/user/perl-class-load-xs/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-class-load-xs +pkgver=0.10 +pkgrel=0 +pkgdesc="Perl XS implementation of Class::Load" +url="https://metacpan.org/release/Class-Load-XS" +arch="all" +license="Artistic-2.0" +depends="perl-class-load" +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-XS-$pkgver.tar.gz" +builddir="$srcdir/Class-Load-XS-$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="16ab845dc393567f0b0e9597eda7d7678b8a41d218823a166bacdfd4dc93e704a6aff98662340b8d7f4d045a60530071bb84ea8da8be5a6930af47722207d126 Class-Load-XS-0.10.tar.gz" |