From eeae5839ce099e0803f533c21c26e618a41b5f9e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 1 Oct 2018 04:30:25 +0000 Subject: user/perl-class-data-inheritable: new package --- user/perl-class-data-inheritable/APKBUILD | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/perl-class-data-inheritable/APKBUILD (limited to 'user') diff --git a/user/perl-class-data-inheritable/APKBUILD b/user/perl-class-data-inheritable/APKBUILD new file mode 100644 index 000000000..4e1745f22 --- /dev/null +++ b/user/perl-class-data-inheritable/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-class-data-inheritable +pkgver=0.08 +pkgrel=0 +pkgdesc="Inheritable, overridable class data for Perl modules" +url="https://metacpan.org/release/Class-Data-Inheritable" +arch="noarch" +license="Artistic-1.0-Perl" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/T/TM/TMTM/Class-Data-Inheritable-$pkgver.tar.gz" +builddir="$srcdir/Class-Data-Inheritable-$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="bddc61096158b21d4cfa69538d5db0f53617a66c71447ee193141064f4f58194462b21e0a849510e24e4c263b13be3ee1bc6bb8504320e0a86c02b67ad1652c8 Class-Data-Inheritable-0.08.tar.gz" -- cgit v1.2.3-70-g09d2