summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-25 17:21:06 -0700
committerDan Theisen <djt@hxx.in>2018-09-25 17:21:26 -0700
commit58847105497fd531e37c38b56d4a6c0971949b51 (patch)
treed1efabc07ba79a23ebd90243ef358ac4506f39ed
parent59c8ca9ed304d5036e024a607055cbe700516529 (diff)
downloadpackages-58847105497fd531e37c38b56d4a6c0971949b51.tar.gz
packages-58847105497fd531e37c38b56d4a6c0971949b51.tar.bz2
packages-58847105497fd531e37c38b56d4a6c0971949b51.tar.xz
packages-58847105497fd531e37c38b56d4a6c0971949b51.zip
user/perl-devel-symdump: new package
-rw-r--r--user/perl-devel-symdump/APKBUILD34
1 files changed, 34 insertions, 0 deletions
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 <djt@hxx.in>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+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"