diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-12-04 02:02:39 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-12-04 02:02:39 (GMT) |
commit | 0c58d38a0c7d4df8d84b047dbbed979866d35266 (patch) | |
tree | 892506639b3eaf0bf8213f579184e609c20e6776 /abs/core/perl_modules/perl-http-response-encoding/PKGBUILD | |
parent | beb70179c1c38f1088eaf8e38ab4079d85c465a3 (diff) | |
download | linhes_pkgbuild-0c58d38a0c7d4df8d84b047dbbed979866d35266.zip linhes_pkgbuild-0c58d38a0c7d4df8d84b047dbbed979866d35266.tar.gz linhes_pkgbuild-0c58d38a0c7d4df8d84b047dbbed979866d35266.tar.bz2 |
perl-http-response-encoding: initial include for xmltv
Diffstat (limited to 'abs/core/perl_modules/perl-http-response-encoding/PKGBUILD')
-rw-r--r-- | abs/core/perl_modules/perl-http-response-encoding/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-http-response-encoding/PKGBUILD b/abs/core/perl_modules/perl-http-response-encoding/PKGBUILD new file mode 100644 index 0000000..be9c20e --- /dev/null +++ b/abs/core/perl_modules/perl-http-response-encoding/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 3654 2009-10-07 08:13:13Z spupykin $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: Mladen Pejakovic <pejakm@gmail.com> + +pkgname=perl-http-response-encoding +pkgver=0.06 +pkgrel=1 +pkgdesc="Adds encoding to HTTP::Response" +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') + +build() { + cd $srcdir/HTTP-Response-Encoding-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} +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 +} + |