aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-unicode-collate/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-06-15 15:37:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-15 20:07:18 +0000
commit0c8f731d6e4a414e5b2a75427d84df07ee70f20e (patch)
treedb158b910175d314719066a90099dbd6b1d83ef1 /community/perl-unicode-collate/APKBUILD
parent8cf6c4f07bd0e25adf1be1d5ce696b4031ef9392 (diff)
downloadaports-0c8f731d6e4a414e5b2a75427d84df07ee70f20e.tar.bz2
aports-0c8f731d6e4a414e5b2a75427d84df07ee70f20e.tar.xz
community/perl-unicode-collate: rebuild against perl 5.26
Diffstat (limited to 'community/perl-unicode-collate/APKBUILD')
-rw-r--r--community/perl-unicode-collate/APKBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/community/perl-unicode-collate/APKBUILD b/community/perl-unicode-collate/APKBUILD
index 03378b477c..a377ca0ad3 100644
--- a/community/perl-unicode-collate/APKBUILD
+++ b/community/perl-unicode-collate/APKBUILD
@@ -4,7 +4,7 @@
pkgname=perl-unicode-collate
_pkgreal=Unicode-Collate
pkgver=1.19
-pkgrel=1
+pkgrel=2
pkgdesc="Unicode Collation Algorithm"
url="http://search.cpan.org/dist/Unicode-Collate/"
arch="all"
@@ -14,21 +14,21 @@ 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"
+source="http://search.cpan.org/CPAN/authors/id/S/SA/SADAHIRO/$_pkgreal-$pkgver.tar.gz
+ Unicode-Collate-1.19-Fixes-for-removal-dot-from-INC.patch
+ "
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- default_prepare || return 1
-
+build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make && make test
}
-build() {
+check() {
cd "$builddir"
- export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make && make test
+ make test
}
package() {
@@ -42,6 +42,5 @@ doc() {
replaces="perl-doc"
}
-md5sums="6f9dcc7801fa2516993dcb59f8b61f6d Unicode-Collate-1.19.tar.gz"
-sha256sums="c3ff558c28d4fecb6fb77fbc1936518536e115c3b1eed9b990755e00bb479570 Unicode-Collate-1.19.tar.gz"
-sha512sums="580bca6e96dd474b223ec9f971d6b8a4fc96d1bbffdc278dfa679d511455940e088f19069647715c2ae7c8e52972a59107cbc6d1bf3537de1c314feab2f4c21b Unicode-Collate-1.19.tar.gz"
+sha512sums="580bca6e96dd474b223ec9f971d6b8a4fc96d1bbffdc278dfa679d511455940e088f19069647715c2ae7c8e52972a59107cbc6d1bf3537de1c314feab2f4c21b Unicode-Collate-1.19.tar.gz
+c80607164c7c6ff180770e4e296e645f04e7cda2868039a012c6fb51fdd6951703181165d1c71a7407f938df9ccff59c5ce63784e30b1a3ae8907d0b4b8dd1f3 Unicode-Collate-1.19-Fixes-for-removal-dot-from-INC.patch"