summaryrefslogtreecommitdiff
path: root/user/perl-exporter-lite
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:55:03 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:55:03 +0000
commitaffcb5fb4394c42aeb823b87649bba8c7637f1d3 (patch)
tree435f80edbfce07862625691f94f20b8e38fff39e /user/perl-exporter-lite
parent3ca93d52af31eab93a4b082f669810802e38ddc1 (diff)
downloadpackages-affcb5fb4394c42aeb823b87649bba8c7637f1d3.tar.gz
packages-affcb5fb4394c42aeb823b87649bba8c7637f1d3.tar.bz2
packages-affcb5fb4394c42aeb823b87649bba8c7637f1d3.tar.xz
packages-affcb5fb4394c42aeb823b87649bba8c7637f1d3.zip
user/perl-exporter-lite: new package
Diffstat (limited to 'user/perl-exporter-lite')
-rw-r--r--user/perl-exporter-lite/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-exporter-lite/APKBUILD b/user/perl-exporter-lite/APKBUILD
new file mode 100644
index 000000000..4831d5f98
--- /dev/null
+++ b/user/perl-exporter-lite/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-exporter-lite
+pkgver=0.08
+pkgrel=0
+pkgdesc="Lightweight exporting of Perl functions and variables"
+url="https://metacpan.org/release/Exporter-Lite"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/N/NE/NEILB/Exporter-Lite-$pkgver.tar.gz"
+builddir="$srcdir/Exporter-Lite-$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="8c6ff5a88c1b810d74156c5d84695cfde6f555e0fc663804123e2a96f5e2235a5adeebbf24b18301ed2c3fb57f76788ecfdf301b26263279e92a88a9143b8953 Exporter-Lite-0.08.tar.gz"