aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-mime-charset
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 14:39:03 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 14:39:07 +0000
commit9f1c07bc67ec438257b56b50a2b3c0f924b3aaa9 (patch)
tree6676ebf9cb073c9c0a9f234ce975dff7c0954cb7 /community/perl-mime-charset
parentf6c8c66701bdc542f8ad4a20c2227140cd826624 (diff)
downloadaports-9f1c07bc67ec438257b56b50a2b3c0f924b3aaa9.tar.bz2
aports-9f1c07bc67ec438257b56b50a2b3c0f924b3aaa9.tar.xz
community/perl-mime-charset,perl-unicode-collate,perl-unicode-linebreak: moved from testing
Diffstat (limited to 'community/perl-mime-charset')
-rw-r--r--community/perl-mime-charset/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/perl-mime-charset/APKBUILD b/community/perl-mime-charset/APKBUILD
new file mode 100644
index 0000000000..0729dc61d5
--- /dev/null
+++ b/community/perl-mime-charset/APKBUILD
@@ -0,0 +1,42 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-mime-charset
+_pkgreal=MIME-Charset
+pkgver=1.012
+pkgrel=0
+pkgdesc="Charset Information for MIME"
+url="http://search.cpan.org/dist/MIME-Charset/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+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"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make && make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="1762b0d9e9379be684b704c247317276 MIME-Charset-1.012.tar.gz"
+sha256sums="cee5d1d4184ad46ca17d995335bc8d9b6d95e1e64584079d032cf5f0c82dcccd MIME-Charset-1.012.tar.gz"
+sha512sums="f116deb04912bdccfd98484ef82d643d23b4cb90bfdf88ddc60d0a3f857ac3f084a60681a6fae4f9a2d982d6f470c79f171688e44a4034e9533bb518a914e2fe MIME-Charset-1.012.tar.gz"