diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-07-03 07:37:36 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-03 07:37:36 -0300 |
commit | 63e28717af76e39c963e6555c58e1f13dabe6105 (patch) | |
tree | 83ad788867bd943c9df1d4d38d0dbc7bb5419423 /testing/perl-sys-virt | |
parent | 5031454716db53c2051a68e73788e20143c9c2f8 (diff) | |
download | aports-63e28717af76e39c963e6555c58e1f13dabe6105.tar.bz2 aports-63e28717af76e39c963e6555c58e1f13dabe6105.tar.xz |
testing/perl-sys-virt: fix url fix license
Diffstat (limited to 'testing/perl-sys-virt')
-rw-r--r-- | testing/perl-sys-virt/APKBUILD | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/testing/perl-sys-virt/APKBUILD b/testing/perl-sys-virt/APKBUILD index 09b2eec3b2..0a28fb97f7 100644 --- a/testing/perl-sys-virt/APKBUILD +++ b/testing/perl-sys-virt/APKBUILD @@ -4,12 +4,12 @@ pkgname=perl-sys-virt _pkgreal=Sys-Virt pkgver=5.4.0 -pkgrel=0 +pkgrel=1 pkgdesc="Perl module for Sys-Virt" -url="http://search.cpan.org/dist/Sys-Virt/" +url="https://metacpan.org/release/Sys-Virt" arch="all" -license="GPL PerlArtistic" -cpanmakedepends="perl-xml-xpath perl-test-pod-coverage +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +cpanmakedepends="perl-xml-xpath perl-test-pod-coverage perl-test-pod perl-cpan-changes perl-module-build" depends="$cpandepends" makedepends="$cpanmakedepends perl-dev libvirt yajl-dev libvirt-dev" @@ -19,24 +19,20 @@ builddir="$srcdir/$_pkgreal-v$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 } check() { - cd "$builddir" ./Build test } package() { - cd "$builddir" ./Build install --destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } |