diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:54:22 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:54:22 (GMT) |
commit | ff0f7cee2dc2b420e257313fef663a3f78bbc800 (patch) | |
tree | 7af473b8667e5c685144e8123934878b79896412 /abs/core/perl_modules/perl-xml-regexp | |
parent | 16a043fed17ea05b6d6ca012ff09b71008562790 (diff) | |
download | linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.zip linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.tar.gz linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.tar.bz2 |
perl_modules: updated to many to list
Diffstat (limited to 'abs/core/perl_modules/perl-xml-regexp')
-rw-r--r-- | abs/core/perl_modules/perl-xml-regexp/PKGBUILD | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/abs/core/perl_modules/perl-xml-regexp/PKGBUILD b/abs/core/perl_modules/perl-xml-regexp/PKGBUILD index e785a85..639ee87 100644 --- a/abs/core/perl_modules/perl-xml-regexp/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-regexp/PKGBUILD @@ -3,21 +3,29 @@ pkgname=perl-xml-regexp pkgver=0.03 -pkgrel=3 +pkgrel=7 pkgdesc="Regular expressions for XML tokens" -arch=('i686' 'x86_64') -url="http://search.cpan.org/~TJMATHER/XML-RegExp" +arch=('any') +url="http://search.cpan.org/dist/XML-RegExp" license=('GPL' 'PerlArtistic') -depends=('perl>=5.10.0') +depends=('perl') options=('!emptydirs') -source=(http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-$pkgver.tar.gz) +source=("http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-${pkgver}.tar.gz") md5sums=('5826b24e0d05714e25c2bb04e1f1c09b') build() { - cd $startdir/src/XML-RegExp-$pkgver - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=$startdir/pkg || return 1 - find $startdir/pkg -name '.packlist' -delete - find $startdir/pkg -name '*.pod' -delete + cd XML-RegExp-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd XML-RegExp-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } |