diff options
author | Britney Fransen <brfransen@gmail.com> | 2011-08-05 00:42:11 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2011-08-05 00:42:11 (GMT) |
commit | 9a8225576f627905015e7d4b38b3bb79ad250a9b (patch) | |
tree | e0f1734f128b92794ae4ae85bc4a1af823a36deb /abs/core | |
parent | 6abc7b836c9aa305f448d55bcac3361be783ac13 (diff) | |
download | linhes_pkgbuild-9a8225576f627905015e7d4b38b3bb79ad250a9b.zip linhes_pkgbuild-9a8225576f627905015e7d4b38b3bb79ad250a9b.tar.gz linhes_pkgbuild-9a8225576f627905015e7d4b38b3bb79ad250a9b.tar.bz2 |
perl-html-tagset: Bump to latest.
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/perl_modules/perl-html-tagset/PKGBUILD | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/abs/core/perl_modules/perl-html-tagset/PKGBUILD b/abs/core/perl_modules/perl-html-tagset/PKGBUILD index 047f39c..b7bb3bc 100644 --- a/abs/core/perl_modules/perl-html-tagset/PKGBUILD +++ b/abs/core/perl_modules/perl-html-tagset/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id$ # Maintainer: kevin <kevin@archlinux.org> # Contributor: Manolis Tzanidakis pkgname=perl-html-tagset _realname=HTML-Tagset -pkgver=3.10 -pkgrel=3 +pkgver=3.20 +pkgrel=2 pkgdesc="Data tables useful in parsing HTML" -arch=(i686 x86_64) +arch=(any) license=('PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" depends=('perl>=5.10.0') @@ -15,17 +15,22 @@ replaces=('html-tagset') provides=('html-tagset') options=(!emptydirs) source=(http://www.cpan.org/authors/id/P/PE/PETDANCE/${_realname}-${pkgver}.tar.gz) -md5sums=('89bdd351272ccd285fa61c5b2ce451ab') +md5sums=('d2bfa18fe1904df7f683e96611e87437') build() { - cd ${startdir}/src/${_realname}-${pkgver} + cd ${srcdir}/${_realname}-${pkgver} # install module in vendor directories. - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make MAN1EXT=1p MAN3EXT=3pm || return 1 - make install MAN1EXT=1p MAN3EXT=3pm DESTDIR=${startdir}/pkg || return 1 + perl Makefile.PL INSTALLDIRS=vendor + make + make test +} + +package() { + cd ${srcdir}/${_realname}-${pkgver} + make install DESTDIR=${pkgdir} # remove perllocal.pod and .packlist - find ${startdir}/pkg -name perllocal.pod -delete - find ${startdir}/pkg -name .packlist -delete + find ${pkgdir} -name perllocal.pod -delete + find ${pkgdir} -name .packlist -delete } # vim: ts=2 sw=2 et ft=sh |