diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-25 19:34:38 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-25 19:34:38 -0700 |
commit | 40fcbc3d90ad94dd9f5ca7344459727156386e35 (patch) | |
tree | 4178fdc54179d790c5a05ccb0f4763b8a260f4b5 /user/perl-module-build-xsutil/APKBUILD | |
parent | 6e2d7d30a0a41837d133c9be0d046d4c62a54411 (diff) | |
download | packages-40fcbc3d90ad94dd9f5ca7344459727156386e35.tar.gz packages-40fcbc3d90ad94dd9f5ca7344459727156386e35.tar.bz2 packages-40fcbc3d90ad94dd9f5ca7344459727156386e35.tar.xz packages-40fcbc3d90ad94dd9f5ca7344459727156386e35.zip |
user/perl-module-build-xsutil: new package
Diffstat (limited to 'user/perl-module-build-xsutil/APKBUILD')
-rw-r--r-- | user/perl-module-build-xsutil/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/user/perl-module-build-xsutil/APKBUILD b/user/perl-module-build-xsutil/APKBUILD new file mode 100644 index 000000000..80d03b9ed --- /dev/null +++ b/user/perl-module-build-xsutil/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-module-build-xsutil +pkgver=0.19 +pkgrel=0 +pkgdesc="A Module::Build class for building XS modules" +url="https://metacpan.org/pod/Module::Build::XSUtil" +arch="noarch" +license="Artistic-1.0-Perl AND GPL-2.0" +depends="perl perl-module-build perl-devel-checkcompiler" +makedepends="perl-dev" +checkdepends="perl-capture-tiny perl-cwd-guard perl-file-copy-recursive-reduced" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/H/HI/HIDEAKIO/Module-Build-XSUtil-$pkgver.tar.gz" +builddir="$srcdir/Module-Build-XSUtil-$pkgver" + +prepare() { + cd "$builddir" + perl Build.PL installdirs=vendor +} + +build() { + cd "$builddir" + ./Build +} + +check() { + cd "$builddir" + ./Build test +} + +package() { + cd "$builddir" + ./Build install destdir="$pkgdir" + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="187f504c3f26d15b96cdc5b682d3487a31cf124475160b7fe5dce727d5d6ec5de5a58d09535adb62a1a95b3030fb62951b2cc0eca860eb03c66a48042cea8819 Module-Build-XSUtil-0.19.tar.gz" |