diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 04:48:07 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 04:48:07 +0000 |
commit | ceb9dbc54e29033943b1db1bb5e7e888cc262795 (patch) | |
tree | ef759df0e6ce3df1a1ad8d4ad9cd8cc6f35367c9 | |
parent | 12d8b2ce6705dd37ac80611c08ac2d7fe1fd69b6 (diff) | |
download | packages-ceb9dbc54e29033943b1db1bb5e7e888cc262795.tar.gz packages-ceb9dbc54e29033943b1db1bb5e7e888cc262795.tar.bz2 packages-ceb9dbc54e29033943b1db1bb5e7e888cc262795.tar.xz packages-ceb9dbc54e29033943b1db1bb5e7e888cc262795.zip |
user/perl-lib-relative: new package
-rw-r--r-- | user/perl-lib-relative/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-lib-relative/APKBUILD b/user/perl-lib-relative/APKBUILD new file mode 100644 index 000000000..daeb17687 --- /dev/null +++ b/user/perl-lib-relative/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-lib-relative +pkgver=0.002 +pkgrel=0 +pkgdesc="Add paths relative to the current file to Perl @INC" +url="https://metacpan.org/release/lib-relative" +arch="noarch" +license="Artistic-2.0" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/D/DB/DBOOK/lib-relative-$pkgver.tar.gz" +builddir="$srcdir/lib-relative-$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="ebe552fbc4967dd8615e2a1ecde69000358b3909095c66b557a6dd68c1a4744ca586dc91d2cf1b679a57ef981ec79a4689ba9c3f846393f4f48e528e85c326b0 lib-relative-0.002.tar.gz" |