Skip to content
Snippets Groups Projects
Commit 63e28717 authored by Leo's avatar Leo
Browse files

testing/perl-sys-virt: fix url fix license

parent 50314547
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment