diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 02:39:55 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 02:39:55 +0000 |
commit | 8dc3c2cad3ce43276c9703e411db232670c4ff47 (patch) | |
tree | df46438c5419eef65ecc8d916e27baf318d57c1d | |
parent | 22f9429c36e8d452a37b8931ed03ddafde2e270f (diff) | |
download | packages-8dc3c2cad3ce43276c9703e411db232670c4ff47.tar.gz packages-8dc3c2cad3ce43276c9703e411db232670c4ff47.tar.bz2 packages-8dc3c2cad3ce43276c9703e411db232670c4ff47.tar.xz packages-8dc3c2cad3ce43276c9703e411db232670c4ff47.zip |
user/perl-env-path: new package
-rw-r--r-- | user/perl-env-path/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-env-path/APKBUILD b/user/perl-env-path/APKBUILD new file mode 100644 index 000000000..8b321c27e --- /dev/null +++ b/user/perl-env-path/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-env-path +pkgver=0.19 +pkgrel=0 +pkgdesc="Advanced operations on path variables (Perl module)" +url="https://metacpan.org/release/Env-Path" +arch="noarch" +license="Artistic-1.0-Perl" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/D/DS/DSB/Env-Path-$pkgver.tar.gz" +builddir="$srcdir/Env-Path-$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="ea75dd808bd1d1e00a70179ccf834b4395e810ae46373eb16a9ebd37ada550ce3d9996073dfbe45909c66537fbc7712920d4dbb6dbf905200501884c5acb52fa Env-Path-0.19.tar.gz" |