Skip to content

Commit

Permalink
perl-libwww: Update to 6.72
Browse files Browse the repository at this point in the history
Add http-cookiejar dependency
  • Loading branch information
lazka committed Dec 5, 2023
1 parent f11ee8f commit 77a7881
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
36 changes: 36 additions & 0 deletions perl-http-cookiejar/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Maintainer: Christoph Reiter <[email protected]>

pkgname=perl-http-cookiejar
pkgver=0.014
pkgrel=1
pkgdesc='A minimalist HTTP user agent cookie jar'
_dist='HTTP-CookieJar'
arch=(any)
url="http://search.cpan.org/dist/HTTP-CookieJar"
license=('spdx:Apache-2.0')
depends=(perl-HTTP-Date)
checkdepends=(perl-Test-Deep perl-Test-Requires perl-HTTP-Message)
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_dist-$pkgver.tar.gz)
sha256sums=('7094ea5c91f536d263b85e83ab4e9a963e11c4408ce08ecae553fa9c0cc47e73')

build() (
cd $_dist-$pkgver
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
perl Makefile.PL INSTALLDIRS=vendor
make
)

check() (
cd $_dist-$pkgver
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1
make test
)

package() (
cd $_dist-$pkgver
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
)
6 changes: 3 additions & 3 deletions perl-libwww/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Alexey Pavlov <[email protected]>

pkgname=perl-libwww
pkgver=6.67
pkgver=6.72
pkgrel=1
pkgdesc="The World-Wide Web library for Perl"
arch=('any')
Expand All @@ -10,14 +10,14 @@ groups=('perl-modules')
license=('spdx:Artistic-1.0-Perl' 'spdx:GPL-1.0-or-later')
options=('!emptydirs')
depends=('perl' 'perl-Encode-Locale' 'perl-File-Listing'
'perl-HTML-Parser' 'perl-HTTP-Cookies' 'perl-HTTP-Daemon'
'perl-HTML-Parser' 'perl-HTTP-Cookies' 'perl-HTTP-Daemon' 'perl-http-cookiejar'
'perl-HTTP-Date' 'perl-HTTP-Negotiate' 'perl-LWP-MediaTypes'
'perl-Net-HTTP' 'perl-URI' 'perl-WWW-RobotRules'
'perl-HTTP-Message' 'perl-Try-Tiny')
optdepends=('perl-LWP-Protocol-https: for https:// url schemes')
checkdepends=('perl-Test-Fatal' 'perl-Test-Needs' 'perl-Test-Requiresinternet')
source=(https://cpan.metacpan.org/authors/id/O/OA/OALDERS/libwww-perl-${pkgver}.tar.gz)
sha256sums=('96eec40a3fd0aa1bd834117be5eb21c438f73094d861a1a7e5774f0b1226b723')
sha256sums=('e9b8354fd5e20be207afe23ddd584fcd59bf82998dc077decf684ba1dae5a05d')

build() {
cd libwww-perl-${pkgver}
Expand Down

0 comments on commit 77a7881

Please sign in to comment.