diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 04:41:40 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 04:41:40 -0500 |
commit | b59ec068291ce0592b91b62684f68ce2ae31961c (patch) | |
tree | 7227532612d429e0ceb13db6f8c84743e2822853 /system/perl-uri/APKBUILD | |
parent | 0b5b5d6668fbda31c14ed0422222729ece800eaf (diff) | |
download | packages-b59ec068291ce0592b91b62684f68ce2ae31961c.tar.gz packages-b59ec068291ce0592b91b62684f68ce2ae31961c.tar.bz2 packages-b59ec068291ce0592b91b62684f68ce2ae31961c.tar.xz packages-b59ec068291ce0592b91b62684f68ce2ae31961c.zip |
{user => system}/perl-{uri,test-needs} for lwp
Diffstat (limited to 'system/perl-uri/APKBUILD')
-rw-r--r-- | system/perl-uri/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/system/perl-uri/APKBUILD b/system/perl-uri/APKBUILD new file mode 100644 index 000000000..6624a4621 --- /dev/null +++ b/system/perl-uri/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=perl-uri +pkgver=1.74 +pkgrel=0 +pkgdesc="Perl library for URI manipulation" +url="https://metacpan.org/pod/URI" +arch="noarch" +license="GPL-1.0+ OR Artistic-1.0-Perl" +depends="perl" +makedepends="$depends" +checkdepends="perl-test-needs" +install="" +subpackages="$pkgname-doc" +provides="perl-uri-escape" +source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/URI-$pkgver.tar.gz" +builddir="$srcdir/URI-$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="b537bd09c355989a2bb1919e2c228cf189e57f993add4246fa482d8ee5ec814266c6fb3229befce2f294456ee784a819d9a54013c43a2ad41b5d8914fabf046b URI-1.74.tar.gz" |