diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-13 13:51:43 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-13 13:54:08 +0000 |
commit | 48c5f2621254da1e52a852138e64838b7e218656 (patch) | |
tree | 647b41327b8b6530abc96caf708e090cf33ed4e9 /community/perl-importer | |
parent | 1c1a7307cb703f7fc24b06dbc5b9a042d43d15e2 (diff) | |
download | aports-48c5f2621254da1e52a852138e64838b7e218656.tar.bz2 aports-48c5f2621254da1e52a852138e64838b7e218656.tar.xz |
community/perl-importer: moved from testing
Diffstat (limited to 'community/perl-importer')
-rw-r--r-- | community/perl-importer/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/perl-importer/APKBUILD b/community/perl-importer/APKBUILD new file mode 100644 index 0000000000..94571190f5 --- /dev/null +++ b/community/perl-importer/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-importer +pkgver=0.014 +pkgrel=0 +pkgdesc="Alternative but compatible interface to modules that export symbols." +url="https://metacpan.org/release/Importer" +arch="noarch" +license="PerlArtistic" +depends="perl" +makedepends="" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Importer-$pkgver.tar.gz" +builddir="$srcdir/Importer-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="b311f1196b955eebd2d736daef2e7284 Importer-0.014.tar.gz" +sha256sums="79b088cdead749d2c5a8cf585456cba064b4847c003a28d02d10a6cc2231b989 Importer-0.014.tar.gz" +sha512sums="da7a7713a8a8b7410b8fa5c737c227df1114be378618f1cb35dbe8ee330d181ab590c9b7d5f5e76e9a6c9366d685e0e8141cbd4f9e683b62635ce0490fde3f68 Importer-0.014.tar.gz" |