Commit b6c62119 authored by Rasmus Thomsen's avatar Rasmus Thomsen Committed by Natanael Copa

main/perl-io-captureoutput: fix URL&License

* modernize
parent e01adc29
......@@ -4,23 +4,19 @@
pkgname=perl-io-captureoutput
_pkgreal=IO-CaptureOutput
pkgver=1.1104
pkgrel=0
pkgrel=1
pkgdesc="capture STDOUT and STDERR from Perl code, subprocesses or XS"
url="http://search.cpan.org/dist/IO-CaptureOutput/"
url="https://metacpan.org/pod/IO::CaptureOutput"
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"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_pkgreal-$pkgver.tar.gz"
source="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/$_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}')
......@@ -35,7 +31,7 @@ build() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment