Date: Wednesday, March 20, 2013 @ 19:19:35 Author: eric Revision: 180368
archrelease: copy trunk to extra-any Added: perl-io-html/repos/extra-any/ perl-io-html/repos/extra-any/PKGBUILD (from rev 180367, perl-io-html/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: perl-io-html/repos/extra-any/PKGBUILD (from rev 180367, perl-io-html/trunk/PKGBUILD) =================================================================== --- extra-any/PKGBUILD (rev 0) +++ extra-any/PKGBUILD 2013-03-20 18:19:35 UTC (rev 180368) @@ -0,0 +1,31 @@ +# $Id$ + +pkgname=perl-io-html +pkgver=1.00 +pkgrel=2 +pkgdesc="Open an HTML file with automatic charset detection" +arch=('any') +url='http://search.cpan.org/dist/IO-HTML' +depends=('perl') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/C/CJ/CJM/IO-HTML-$pkgver.tar.gz) +sha1sums=('408784f567d52f26ee4ed7c10026e2c8b8e86178') + +build() { + export PERL_MM_USE_DEFAULT=1 PERL_MM_OPT="INSTALLDIRS=vendor" \ + PERL_MB_OPT="--installdirs vendor" + cd IO-HTML-$pkgver + perl Makefile.PL + make +} + +check() { + cd IO-HTML-$pkgver + make test +} + +package() { + cd IO-HTML-$pkgver + make DESTDIR="$pkgdir" install +}