aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-async-mergepoint
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-27 19:04:51 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-27 19:04:51 +0100
commit4e20b8264d5d14e8bfed92f33eba9c809b161099 (patch)
tree0a03116353ed79b0a208d9e9008b4956c147b8b7 /main/perl-async-mergepoint
parent1a0b0a35120b502475c4ac524f2a2e6d81f3b669 (diff)
downloadaports-4e20b8264d5d14e8bfed92f33eba9c809b161099.tar.bz2
aports-4e20b8264d5d14e8bfed92f33eba9c809b161099.tar.xz
main/perl-async-mergepoint: fix url=,source= and license=
Diffstat (limited to 'main/perl-async-mergepoint')
-rw-r--r--main/perl-async-mergepoint/APKBUILD28
1 files changed, 14 insertions, 14 deletions
diff --git a/main/perl-async-mergepoint/APKBUILD b/main/perl-async-mergepoint/APKBUILD
index 25e8dbe5d8..736760b48d 100644
--- a/main/perl-async-mergepoint/APKBUILD
+++ b/main/perl-async-mergepoint/APKBUILD
@@ -4,34 +4,34 @@
pkgname=perl-async-mergepoint
_pkgreal=Async-MergePoint
pkgver=0.04
-pkgrel=0
+pkgrel=1
pkgdesc="resynchronise diverged control flow"
-url="http://search.cpan.org/dist/Async-MergePoint/"
+url="https://metacpan.org/release/Async-MergePoint"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpanmakedepends="perl-test-fatal"
-depends="$cpandepends"
+depends="perl"
makedepends="perl-dev perl-module-build $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Async-MergePoint-$pkgver.tar.gz"
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
- perl Build.PL installdirs=vendor || return 1
+ perl Build.PL installdirs=vendor
}
build() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- ./Build && ./Build test
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ ./Build
+}
+
+check() {
+ ./Build test
}
package() {
- cd "$_builddir"
- ./Build install destdir="$pkgdir" || return 1
+ ./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}