aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-encode-jis2k
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 14:49:19 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 14:49:19 +0000
commit6b1f4bb727122381a369b7fdfde03d4623d1ca55 (patch)
tree0296885ed914b048dd31344da9e380a3a49f8ab5 /community/perl-encode-jis2k
parentd61a8e9ddda61df266ce68bf5a2ad6fd6ce2a061 (diff)
downloadaports-6b1f4bb727122381a369b7fdfde03d4623d1ca55.tar.bz2
aports-6b1f4bb727122381a369b7fdfde03d4623d1ca55.tar.xz
community/perl-encode-jis2k: moved from testing
Diffstat (limited to 'community/perl-encode-jis2k')
-rw-r--r--community/perl-encode-jis2k/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/community/perl-encode-jis2k/APKBUILD b/community/perl-encode-jis2k/APKBUILD
new file mode 100644
index 0000000000..3d048b8497
--- /dev/null
+++ b/community/perl-encode-jis2k/APKBUILD
@@ -0,0 +1,45 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-encode-jis2k
+_pkgreal=Encode-JIS2K
+pkgver=0.03
+pkgrel=1
+pkgdesc="Perl module for Encode-JIS2K"
+url="http://search.cpan.org/dist/Encode-JIS2K/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages=""
+source="http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/$_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="60539471aa408a2b793cd45a6ce651db Encode-JIS2K-0.03.tar.gz"
+sha256sums="1ec84d72db39deb4dad6fca95acfcc21033f45a24d347c20f9a1a696896c35cc Encode-JIS2K-0.03.tar.gz"
+sha512sums="93d73a84e394faf8411d158ead0bc398ff1935ba14e35c64992d9fc8c2aa4ce1a71b5f46dbb1a765d3b160b19a9216bec68d42c8be1940d271dde418a62db4ec Encode-JIS2K-0.03.tar.gz"