summaryrefslogtreecommitdiff
path: root/system/perl-uri/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/perl-uri/APKBUILD')
-rw-r--r--system/perl-uri/APKBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/system/perl-uri/APKBUILD b/system/perl-uri/APKBUILD
index 9d8fe204e..6213d892e 100644
--- a/system/perl-uri/APKBUILD
+++ b/system/perl-uri/APKBUILD
@@ -1,35 +1,36 @@
-# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
-# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-uri
-pkgver=1.76
+_pkgreal=URI
+_author=OALDERS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=5.27
pkgrel=0
pkgdesc="Perl library for URI manipulation"
url="https://metacpan.org/release/URI"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
-makedepends="$depends"
-checkdepends="perl-test-needs"
+makedepends=""
+checkdepends="perl-test-fatal perl-test-needs perl-test-warnings"
subpackages="$pkgname-doc"
provides="perl-uri-escape=$pkgver-r$pkgrel"
-source="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-$pkgver.tar.gz"
-builddir="$srcdir/URI-$pkgver"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="1fcb02692bdf5f223c2878569615d153b3c4c5adc04c33aee23f3f015e08b4895b03536ef3a8c7cb7a334c2faa056e5e46c805d56d810704cba63d96136e0a83 URI-1.76.tar.gz"
+sha512sums="5d4cdaf2baed2b15af827093e139ee22c7f87b979b5998462500b13d68966bd94be3841e9b0c4f64ef2df9ca5e258933c21f67870a671242330f296c7bef45b8 URI-5.27.tar.gz"