aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-28 00:50:10 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-28 00:50:10 -0300
commitd094d0edf0b3a2eb3d31ef56c770d8739f8cefcf (patch)
tree3986c6bec5a6e82b6eaae6650c83f38eeca89814 /testing
parent2e96b52d6c9f508929ab144584d2d8439eb12532 (diff)
downloadaports-d094d0edf0b3a2eb3d31ef56c770d8739f8cefcf.tar.bz2
aports-d094d0edf0b3a2eb3d31ef56c770d8739f8cefcf.tar.xz
testing/perl-data-float: fix url fix license
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-data-float/APKBUILD17
1 files changed, 4 insertions, 13 deletions
diff --git a/testing/perl-data-float/APKBUILD b/testing/perl-data-float/APKBUILD
index 82dc18b245..4d1e982d78 100644
--- a/testing/perl-data-float/APKBUILD
+++ b/testing/perl-data-float/APKBUILD
@@ -4,17 +4,12 @@
pkgname=perl-data-float
_pkgreal=Data-Float
pkgver=0.013
-pkgrel=0
+pkgrel=1
pkgdesc="details of the floating point data type"
-url="http://search.cpan.org/dist/Data-Float/"
+url="https://metacpan.org/release/Data-Float"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-cpancheckdepends=""
-depends="$cpandepends"
-makedepends="perl-dev perl-module-build $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
@@ -22,25 +17,21 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL installdirs=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
./Build
}
package() {
- cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$builddir"
./Build test
}