aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-unicode-collate
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-unicode-collate
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-unicode-collate')
-rw-r--r--community/perl-unicode-collate/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/perl-unicode-collate/APKBUILD b/community/perl-unicode-collate/APKBUILD
new file mode 100644
index 0000000000..0ed2feac37
--- /dev/null
+++ b/community/perl-unicode-collate/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-unicode-collate
+_pkgreal=Unicode-Collate
+pkgver=1.14
+pkgrel=1
+pkgdesc="Unicode Collation Algorithm"
+url="http://search.cpan.org/dist/Unicode-Collate/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/SA/SADAHIRO/$_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="c486b31f87bfa3875883f3c9fad9fd99 Unicode-Collate-1.14.tar.gz"
+sha256sums="628a5bb3b5e81c1d4cdf680bc882f2296a50892860af1800b31e796ee166767a Unicode-Collate-1.14.tar.gz"
+sha512sums="a234c7ebb2f92886a68e39b681cb428bf99dd999f6a12ce137b132824072a07a60df3d26a4b147b2ec52c61df4f7c2fab5dad5cb40cce27fdff021cdf8208568 Unicode-Collate-1.14.tar.gz"