summaryrefslogtreecommitdiff
path: root/user/perl-sub-identify/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 21:36:36 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 21:36:36 +0000
commit8e52158588ba0b11027f59c64791f6d1f084b371 (patch)
tree52d3aced2785d21611313bfec130af71f792190e /user/perl-sub-identify/APKBUILD
parentafde3a0c1c6f8fa3a5bf97dc70cf992c6b9c0f27 (diff)
downloadpackages-8e52158588ba0b11027f59c64791f6d1f084b371.tar.gz
packages-8e52158588ba0b11027f59c64791f6d1f084b371.tar.bz2
packages-8e52158588ba0b11027f59c64791f6d1f084b371.tar.xz
packages-8e52158588ba0b11027f59c64791f6d1f084b371.zip
user/perl-sub-identify: new package
Diffstat (limited to 'user/perl-sub-identify/APKBUILD')
-rw-r--r--user/perl-sub-identify/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-sub-identify/APKBUILD b/user/perl-sub-identify/APKBUILD
new file mode 100644
index 000000000..10e60ed79
--- /dev/null
+++ b/user/perl-sub-identify/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-sub-identify
+pkgver=0.14
+pkgrel=0
+pkgdesc="Retrieve names of Perl code references"
+url="https://metacpan.org/release/Sub-Identify"
+arch="all"
+license="Artistic-1.0-Perl"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RG/RGARCIA/Sub-Identify-$pkgver.tar.gz"
+builddir="$srcdir/Sub-Identify-$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="f69f542c84c5c3ca1f1c7f5f58fd2cf19279a65229f43117c31f24ab0e49d5f329bef2bc00f22252fd2e52b4e17f16b279dac438920668e046e59f2e22e52c14 Sub-Identify-0.14.tar.gz"