diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-04-27 10:05:27 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-04-27 10:05:27 +0000 |
commit | 72532a92425e0a589051e8b4d15d37100854b3c7 (patch) | |
tree | 00b8f84b25b596f900c117172fe33fc00e35d5e1 /user/perl-pod-constants/APKBUILD | |
parent | 7708a261d5ed03cf77b82204a6558d9651da7e8b (diff) | |
parent | 251b9b497a6755910fd2b2b438abf652595a7ad6 (diff) | |
download | packages-72532a92425e0a589051e8b4d15d37100854b3c7.tar.gz packages-72532a92425e0a589051e8b4d15d37100854b3c7.tar.bz2 packages-72532a92425e0a589051e8b4d15d37100854b3c7.tar.xz packages-72532a92425e0a589051e8b4d15d37100854b3c7.zip |
Merge branch 'licensecheck' into 'master'
Licensecheck
See merge request !223
Diffstat (limited to 'user/perl-pod-constants/APKBUILD')
-rw-r--r-- | user/perl-pod-constants/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-pod-constants/APKBUILD b/user/perl-pod-constants/APKBUILD new file mode 100644 index 000000000..bfb2802d7 --- /dev/null +++ b/user/perl-pod-constants/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-pod-constants +pkgver=0.19 +pkgrel=0 +pkgdesc="Perl module for pulling constants from POD text" +url="https://metacpan.org/pod/Pod::Constants" +arch="noarch" +license="Artistic-2.0" +depends="perl" +makedepends="" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/MG/MGV/Pod-Constants-$pkgver.tar.gz" +builddir="$srcdir/Pod-Constants-$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="4c7b7ccdede87f0069bf100406de5b2320b5f9cb0363d413e90b419e512d4322114851d78fdd7a1bce63347ee5986ecd397b11579b91eee6e46d9b0a82b0b64a Pod-Constants-0.19.tar.gz" |