From 58847105497fd531e37c38b56d4a6c0971949b51 Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Tue, 25 Sep 2018 17:21:06 -0700 Subject: user/perl-devel-symdump: new package --- user/perl-devel-symdump/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-devel-symdump/APKBUILD (limited to 'user') diff --git a/user/perl-devel-symdump/APKBUILD b/user/perl-devel-symdump/APKBUILD new file mode 100644 index 000000000..a56a92cd9 --- /dev/null +++ b/user/perl-devel-symdump/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Dan Theisen +# Maintainer: Adélie Perl Team +pkgname=perl-devel-symdump +pkgver=2.18 +pkgrel=0 +pkgdesc="Dump symbol names or the symbol table" +url="https://metacpan.org/pod/Devel::Symdump" +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/A/AN/ANDK/Devel-Symdump-$pkgver.tar.gz" +builddir="$srcdir/Devel-Symdump-$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="4e8e1ee723e3e02d2f0c100dace40d7722f6366402cff24fb50c8616a863628bc2faa02210754132afa7cbebbd90c75ea6f173e15bbcfaa5158dfcfdfd03da73 Devel-Symdump-2.18.tar.gz" -- cgit v1.2.3-70-g09d2