aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-28 01:27:14 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-28 01:27:14 -0300
commit0ebec6a24687f4f9ecdd3c2a17202390f1a29a86 (patch)
tree1daf19af64291fd754862877f963ec8b827e8d29
parentc22a8c47227203506726b234bbca608a2b5207af (diff)
downloadaports-0ebec6a24687f4f9ecdd3c2a17202390f1a29a86.tar.bz2
aports-0ebec6a24687f4f9ecdd3c2a17202390f1a29a86.tar.xz
testing/perl-sereal-encoder: fix url fix license
-rw-r--r--testing/perl-sereal-encoder/APKBUILD21
1 files changed, 7 insertions, 14 deletions
diff --git a/testing/perl-sereal-encoder/APKBUILD b/testing/perl-sereal-encoder/APKBUILD
index de579a2f98..0a93685bce 100644
--- a/testing/perl-sereal-encoder/APKBUILD
+++ b/testing/perl-sereal-encoder/APKBUILD
@@ -4,43 +4,36 @@
pkgname=perl-sereal-encoder
_pkgreal=Sereal-Encoder
pkgver=4.007
-pkgrel=0
+pkgrel=1
pkgdesc="Fast, compact, powerful binary serialization"
-url="http://search.cpan.org/dist/Sereal-Encoder/"
-arch="all !armhf" #zstd-dev missing
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
+url="https://metacpan.org/release/Sereal-Encoder"
+arch="all"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpancheckdepends="perl-test-warn perl-test-longstring perl-sereal-decoder"
-depends="$cpandepends"
-makedepends="perl-dev zstd-dev $cpanmakedepends"
+makedepends="perl-dev zstd-dev"
checkdepends="$cpancheckdepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/Y/YV/YVES/Sereal-Encoder-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
- 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
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}