aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-class-xsaccessor/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-27 23:15:55 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-27 23:15:55 -0300
commit69a260d7bc9af3621b0048b16bba9f655eb4f794 (patch)
treec4aa25df308f7fcf5611023de3498e021503573f /testing/perl-class-xsaccessor/APKBUILD
parent4528980be951bc7a9367020a7307cb289cef9144 (diff)
downloadaports-69a260d7bc9af3621b0048b16bba9f655eb4f794.tar.bz2
aports-69a260d7bc9af3621b0048b16bba9f655eb4f794.tar.xz
testing/perl-class-xsaccessor: fix url fix license
Diffstat (limited to 'testing/perl-class-xsaccessor/APKBUILD')
-rw-r--r--testing/perl-class-xsaccessor/APKBUILD15
1 files changed, 4 insertions, 11 deletions
diff --git a/testing/perl-class-xsaccessor/APKBUILD b/testing/perl-class-xsaccessor/APKBUILD
index a9352cdc19..29a18358b2 100644
--- a/testing/perl-class-xsaccessor/APKBUILD
+++ b/testing/perl-class-xsaccessor/APKBUILD
@@ -4,15 +4,12 @@
pkgname=perl-class-xsaccessor
_pkgreal=Class-XSAccessor
pkgver=1.19
-pkgrel=5
+pkgrel=6
pkgdesc="Generate fast XS accessors without runtime compilation"
-url="http://search.cpan.org/dist/Class-XSAccessor/"
+url="https://metacpan.org/release/Class-XSAccessor"
arch="all"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+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/S/SM/SMUELLER/$_pkgreal-$pkgver.tar.gz"
@@ -21,22 +18,18 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}