aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-27 23:49:58 -0300
committerTimo Teräs <timo.teras@iki.fi>2019-05-28 10:05:21 +0300
commit0ac1d3c8084cefe9c0a612fca53f177af341a275 (patch)
tree16f28f9ebb5e43930cbe8dc2b93acda19110e7c7
parent8c592d731e88485f47bd9345a00d7fc22c5ae6e9 (diff)
downloadaports-0ac1d3c8084cefe9c0a612fca53f177af341a275.tar.gz
aports-0ac1d3c8084cefe9c0a612fca53f177af341a275.tar.bz2
aports-0ac1d3c8084cefe9c0a612fca53f177af341a275.tar.xz
main/perl-encode: upgrade to 3.01
-rw-r--r--main/perl-encode/APKBUILD25
1 files changed, 11 insertions, 14 deletions
diff --git a/main/perl-encode/APKBUILD b/main/perl-encode/APKBUILD
index 22fa08342e..874261c76f 100644
--- a/main/perl-encode/APKBUILD
+++ b/main/perl-encode/APKBUILD
@@ -3,36 +3,33 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-encode
_pkgreal=Encode
-pkgver=2.98
-pkgrel=1
+pkgver=3.01
+pkgrel=0
pkgdesc="character encodings in Perl"
url="http://search.cpan.org/dist/Encode/"
arch="all"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-depends="$cpandepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends_dev="$pkgname-utils"
-makedepends="perl-dev $cpanmakedepends"
+makedepends="perl-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-utils::noarch"
source="http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ 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}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
- cd "$builddir"
- make test
+ cd "$builddir"
+ make test
}
package() {
@@ -57,7 +54,7 @@ dev() {
mv "$pkgdir"/usr/bin/enc2xs "$subpkgdir"/usr/bin
local file; for file in $(find "$pkgdir" -name "*.e2x"); do
file=${file#$pkgdir/}
- mkdir -p "$subpkgdir"/${file%/*} || return 1
+ mkdir -p "$subpkgdir"/${file%/*}
mv "$pkgdir"/$file "$subpkgdir"/$file
done
}
@@ -67,9 +64,9 @@ doc() {
replaces="perl-doc"
local file; for file in $(find "$pkgdir" -name "*.pod"); do
file=${file#$pkgdir/}
- mkdir -p "$subpkgdir"/${file%/*} || return 1
+ mkdir -p "$subpkgdir"/${file%/*}
mv "$pkgdir"/$file "$subpkgdir"/$file
done
}
-sha512sums="ee43ed683bc5d03cbc383a3cb56895a4f1cd366ef47031efd1ea0f10124be9f7f1f8c32eaab92155daf8df552624dc9629a18af5b2eab10f17c66e3a82bacd64 Encode-2.98.tar.gz"
+sha512sums="b01d376852c7a0142eb54fbc4e23efbc78b035729e36ed2e0f8317928e7ca8f41fe845bf121796b28994af66c79550353ab7c26764d6c488a687aebfc5c47963 Encode-3.01.tar.gz"