aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-28 01:21:14 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-28 01:21:14 -0300
commit0cee97f6eeb9804fdae59f3700f78eac401874c1 (patch)
tree4a601900c7d8e8b36be81dff16e833e41ec4d7bd
parentb54bc3cd71439ca6d3b54c75e709ef6820a47bf9 (diff)
downloadaports-0cee97f6eeb9804fdae59f3700f78eac401874c1.tar.gz
aports-0cee97f6eeb9804fdae59f3700f78eac401874c1.tar.bz2
aports-0cee97f6eeb9804fdae59f3700f78eac401874c1.tar.xz
testing/perl-env-path: fix url fix license
-rw-r--r--testing/perl-env-path/APKBUILD23
1 files changed, 7 insertions, 16 deletions
diff --git a/testing/perl-env-path/APKBUILD b/testing/perl-env-path/APKBUILD
index 778cc2d05e..1f6cdfee01 100644
--- a/testing/perl-env-path/APKBUILD
+++ b/testing/perl-env-path/APKBUILD
@@ -4,43 +4,34 @@
pkgname=perl-env-path
_pkgreal=Env-Path
pkgver=0.19
-pkgrel=0
-pkgdesc="unknown"
-url="http://search.cpan.org/dist/Env-Path/"
+pkgrel=1
+pkgdesc="Advanced operations on path variables"
+url="https://metacpan.org/release/Env-Path"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-cpancheckdepends=""
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DS/DSB/$_pkgreal-$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
}