diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-09-06 16:35:27 (GMT) |
commit | 5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch) | |
tree | f13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/core/perl_modules/perl-http-response-encoding/PKGBUILD | |
parent | 8d35f28049488f2585ef765bf48e7a58958fd587 (diff) | |
parent | 04697136037cb5341ee6c051f8aaa265c0400c82 (diff) | |
download | linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/perl_modules/perl-http-response-encoding/PKGBUILD')
-rw-r--r-- | abs/core/perl_modules/perl-http-response-encoding/PKGBUILD | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/abs/core/perl_modules/perl-http-response-encoding/PKGBUILD b/abs/core/perl_modules/perl-http-response-encoding/PKGBUILD index be9c20e..c65927c 100644 --- a/abs/core/perl_modules/perl-http-response-encoding/PKGBUILD +++ b/abs/core/perl_modules/perl-http-response-encoding/PKGBUILD @@ -1,28 +1,29 @@ -# $Id: PKGBUILD 3654 2009-10-07 08:13:13Z spupykin $ -# Maintainer: Allan McRae <allan@archlinux.org> +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Allan McRae <allan@archlinux.org> # Contributor: Mladen Pejakovic <pejakm@gmail.com> pkgname=perl-http-response-encoding pkgver=0.06 -pkgrel=1 +pkgrel=4 pkgdesc="Adds encoding to HTTP::Response" -arch=(any) +arch=('any') url="http://search.cpan.org/dist/HTTP-Response-Encoding" license=('GPL' 'PerlArtistic') depends=('perl-libwww') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/D/DA/DANKOGAI/HTTP-Response-Encoding-$pkgver.tar.gz) -md5sums=('7e1d46f2d88022580e1a18bb7ac4ab71') +source=("https://www.cpan.org/authors/id/D/DA/DANKOGAI/HTTP-Response-Encoding-$pkgver.tar.gz") +sha256sums=('10167b8e238a682004ab0d7accbe9d76eae2db57af07c5ae2dfa808074a4a8aa') build() { - cd $srcdir/HTTP-Response-Encoding-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 + cd "${srcdir}"/HTTP-Response-Encoding-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make } + package() { - cd $srcdir/HTTP-Response-Encoding-$pkgver - make install DESTDIR=$pkgdir || return 1 - find $startdir/pkg -name '.packlist' -delete - find $startdir/pkg -name '*.pod' -delete + cd "${srcdir}"/HTTP-Response-Encoding-$pkgver + make install DESTDIR="${pkgdir}" + find "${pkgdir}" -name '.packlist' -delete + find "${pkgdir}" -name '*.pod' -delete } - |