diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-11-01 10:59:53 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-11-01 10:59:53 +0000 |
commit | 02a8035e34765812f4a4d3913601965aa0c3c9be (patch) | |
tree | a98841d6400aff6ec90830fcf9fbb87ce29cc05f /main/perl-importer | |
parent | 1ca7db6279b55403b5be6094280c6bb7c1f112c4 (diff) | |
download | aports-02a8035e34765812f4a4d3913601965aa0c3c9be.tar.bz2 aports-02a8035e34765812f4a4d3913601965aa0c3c9be.tar.xz |
main/perl-importer: move to main
Diffstat (limited to 'main/perl-importer')
-rw-r--r-- | main/perl-importer/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/main/perl-importer/APKBUILD b/main/perl-importer/APKBUILD new file mode 100644 index 0000000000..94571190f5 --- /dev/null +++ b/main/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" |