diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-25 14:04:33 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-25 14:12:20 -0700 |
commit | dcbf792ef76fb9ff90b51efc5dd9da907f89e999 (patch) | |
tree | 1e6097fe3f7f6e782cb7d34ebd718f16e1dfbb41 /user/perl-extutils-depends | |
parent | 8447866656dbaf47548205e1c1c23a432bdac1d3 (diff) | |
download | packages-dcbf792ef76fb9ff90b51efc5dd9da907f89e999.tar.gz packages-dcbf792ef76fb9ff90b51efc5dd9da907f89e999.tar.bz2 packages-dcbf792ef76fb9ff90b51efc5dd9da907f89e999.tar.xz packages-dcbf792ef76fb9ff90b51efc5dd9da907f89e999.zip |
user/perl-extutils-depends: new package
Diffstat (limited to 'user/perl-extutils-depends')
-rw-r--r-- | user/perl-extutils-depends/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-extutils-depends/APKBUILD b/user/perl-extutils-depends/APKBUILD new file mode 100644 index 000000000..3947f7667 --- /dev/null +++ b/user/perl-extutils-depends/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-extutils-depends +pkgver=0.405 +pkgrel=0 +pkgdesc="Easily build XS extensions that depend on XS extensions" +url="https://metacpan.org/release/ExtUtils::Depends" +arch="noarch" +license="Artistic-1.0-Perl AND GPL-2.0" +depends="perl" +makedepends="perl-dev" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/X/XA/XAOC/ExtUtils-Depends-$pkgver.tar.gz" +sha512sums="b9983ad763ff0cb81c899bc24f3152f13c69e608304b6e4446bd07b9b13d039650f3f87544c0bdd29c67246ea2973f04a1ce0fccbffb566fe89fdbe0bb03f11b ExtUtils-Depends-0.405.tar.gz" +builddir="$srcdir/ExtUtils-Depends-$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 +} + |