aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-06-07 13:36:20 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-07-22 11:05:36 +0000
commit52511fb2c748701c420350cbfcbd4fcabadbbf0d (patch)
tree6eab0bd7356059d2b065f6a7d4225d5e294e7641
parent1b9fe2c22938a6eb305955dddca3e4a243861f5a (diff)
downloadaports-52511fb2c748701c420350cbfcbd4fcabadbbf0d.tar.bz2
aports-52511fb2c748701c420350cbfcbd4fcabadbbf0d.tar.xz
main/perl-io-html: fix URL&License
* modernize
-rw-r--r--main/perl-io-html/APKBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/main/perl-io-html/APKBUILD b/main/perl-io-html/APKBUILD
index f625824539..cc63a298f8 100644
--- a/main/perl-io-html/APKBUILD
+++ b/main/perl-io-html/APKBUILD
@@ -3,29 +3,27 @@
pkgname=perl-io-html
_pkgreal=IO-HTML
pkgver=1.001
-pkgrel=1
+pkgrel=2
pkgdesc="Open an HTML file with automatic charset detection"
-url="http://search.cpan.org/dist/IO-HTML/"
+url="https://metacpan.org/pod/IO::HTML"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=" "
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+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/C/CJ/CJM/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/C/CJ/CJM/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}