diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-devel-checklib/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/user/perl-devel-checklib/APKBUILD b/user/perl-devel-checklib/APKBUILD new file mode 100644 index 000000000..760963041 --- /dev/null +++ b/user/perl-devel-checklib/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=perl-devel-checklib +pkgver=1.16 +pkgrel=0 +pkgdesc="Perl library for determining if a system library is available" +url="https://metacpan.org/dist/Devel-CheckLib" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-1.0+" +depends="perl" +checkdepends="perl-capture-tiny" +makedepends="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/MA/MATTN/Devel-CheckLib-$pkgver.tar.gz" +builddir="$srcdir/Devel-CheckLib-$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="919da046cdd1f48e0ccd8a7734a98f3144c0005c8303b02b43aeedcd2cfc148c78f502f26a80ea2612279e2becf4948b408d8cbd4b7cc514519c5954ae4139cb Devel-CheckLib-1.16.tar.gz" |