aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-28 01:24:43 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-28 01:24:43 -0300
commitf62f2b6236989cae52c222ed08df2a8b0a78e1e3 (patch)
tree75452582b2755e3ef86de4092ba802ae345f3b6f /testing
parent21ad182b3af35b29911cfd12c8eb237bbf5e4175 (diff)
downloadaports-f62f2b6236989cae52c222ed08df2a8b0a78e1e3.tar.bz2
aports-f62f2b6236989cae52c222ed08df2a8b0a78e1e3.tar.xz
testing/perl-extutils-xsbuilder: fix url fix license
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-extutils-xsbuilder/APKBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/testing/perl-extutils-xsbuilder/APKBUILD b/testing/perl-extutils-xsbuilder/APKBUILD
index 540ab4ce2b..3a05a30d8c 100644
--- a/testing/perl-extutils-xsbuilder/APKBUILD
+++ b/testing/perl-extutils-xsbuilder/APKBUILD
@@ -4,33 +4,29 @@
pkgname=perl-extutils-xsbuilder
_pkgreal=ExtUtils-XSBuilder
pkgver=0.28
-pkgrel=0
+pkgrel=1
pkgdesc="Automatic XS glue code generation"
-url="http://search.cpan.org/dist/ExtUtils-XSBuilder/"
+url="https://metacpan.org/release/ExtUtils-XSBuilder"
arch="noarch"
-license="GPL PerlArtistic"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-parse-recdescent perl-tie-ixhash"
-cpanmakedepends=""
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/G/GR/GRICHTER/$_pkgreal-$pkgver.tar.gz"
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
make && make test
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}