1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/perl-lwp-useragent-cached/APKBUILD
2021-04-04 00:08:18 +02:00

28 lines
837 B
Text

# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=perl-lwp-useragent-cached
pkgver=0.08
pkgrel=0
pkgdesc="UserAgent with simple caching mechanism"
url="https://metacpan.org/release/LWP-UserAgent-Cache"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl-libwww"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/O/OL/OLEG/LWP-UserAgent-Cached-$pkgver.tar.gz"
builddir="$srcdir/LWP-UserAgent-Cached-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="5c1c18d3a54257aac6f266298d63c4cec9e6c6cbdfe6470cbf02676fc327a9c71238158b08036852c4971787fd8b7b67b85eaa4016687bc6c815a68037e15c47 LWP-UserAgent-Cached-0.08.tar.gz"