diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 04:30:25 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 04:30:25 +0000 |
commit | eeae5839ce099e0803f533c21c26e618a41b5f9e (patch) | |
tree | 2dabd86c80ed38d4179bf75e4a9bc0fd2c5a7c77 /user/perl-class-data-inheritable/APKBUILD | |
parent | ff7be8b8543cfc5aed4c0d6c8f37cd117cdcbfad (diff) | |
download | packages-eeae5839ce099e0803f533c21c26e618a41b5f9e.tar.gz packages-eeae5839ce099e0803f533c21c26e618a41b5f9e.tar.bz2 packages-eeae5839ce099e0803f533c21c26e618a41b5f9e.tar.xz packages-eeae5839ce099e0803f533c21c26e618a41b5f9e.zip |
user/perl-class-data-inheritable: new package
Diffstat (limited to 'user/perl-class-data-inheritable/APKBUILD')
-rw-r--r-- | user/perl-class-data-inheritable/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
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 <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +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" |