diff options
Diffstat (limited to 'user/perl-class-data-inheritable')
-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" |