diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 14:50:27 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 14:50:27 +0000 |
commit | bef548d543e07feba4f7be48a003eb39bb5eec14 (patch) | |
tree | 63bf120597d1b1ad4f5bffc2c161da3605c15456 /community/perl-encode-eucjpascii/APKBUILD | |
parent | 6b1f4bb727122381a369b7fdfde03d4623d1ca55 (diff) | |
download | aports-bef548d543e07feba4f7be48a003eb39bb5eec14.tar.bz2 aports-bef548d543e07feba4f7be48a003eb39bb5eec14.tar.xz |
community/perl-encode-eucjpascii: moved from testing
Diffstat (limited to 'community/perl-encode-eucjpascii/APKBUILD')
-rw-r--r-- | community/perl-encode-eucjpascii/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/community/perl-encode-eucjpascii/APKBUILD b/community/perl-encode-eucjpascii/APKBUILD new file mode 100644 index 0000000000..56a935f3ee --- /dev/null +++ b/community/perl-encode-eucjpascii/APKBUILD @@ -0,0 +1,44 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-encode-eucjpascii +_pkgreal=Encode-EUCJPASCII +pkgver=0.03 +pkgrel=1 +pkgdesc="Perl module for Encode-EUCJPASCII" +url="http://search.cpan.org/dist/Encode-EUCJPASCII/" +arch="all" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="" +source="http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + default_prepare || return 1 + + cd "$builddir" + if [ -e Build.PL ]; then + perl Build.PL installdirs=vendor || return 1 + else + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + fi +} + +build() { + cd "$builddir" + make && make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="5daa65f55b7c2050bb0713d9e95f239d Encode-EUCJPASCII-0.03.tar.gz" +sha256sums="f998d34d55fd9c82cf910786a0448d1edfa60bf68e2c2306724ca67c629de861 Encode-EUCJPASCII-0.03.tar.gz" +sha512sums="0d7a06e1f5eaa20451ef360ef78372cb0ecf0c9a525efed5db0b55b0fc98b47c87eff4f9be069bdd7be50156f8edfc0cb9a257e9efd5a33130cc745dca12b7d8 Encode-EUCJPASCII-0.03.tar.gz" |