diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/perl_modules/perl-xml-twig | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/perl_modules/perl-xml-twig')
-rw-r--r-- | abs/core-testing/perl_modules/perl-xml-twig/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/core-testing/perl_modules/perl-xml-twig/PKGBUILD b/abs/core-testing/perl_modules/perl-xml-twig/PKGBUILD new file mode 100644 index 0000000..b15b94b --- /dev/null +++ b/abs/core-testing/perl_modules/perl-xml-twig/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: damir <damir@archlinux.org> +# Maintainer/Contributor: Francois Charette <firmicus@gmx.net> + +pkgname=perl-xml-twig +_realname=XML-Twig +pkgver=3.32 +pkgrel=2 +pkgdesc="A module for easy processing of XML" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/${_realname}/" +license=('GPL' 'PerlArtistic') +depends=('perlxml>=2.23' 'perl-text-iconv' 'perl>=5.10.0') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/M/MI/MIROD/${_realname}-${pkgver}.tar.gz) +md5sums=('9df9dcab00aa093c4e540caa5cb759fa') + +build() { + cd $startdir/src/${_realname}-${pkgver} + perl Makefile.PL -y INSTALLDIRS=vendor || return 1 + make || return 1 + make DESTDIR=$startdir/pkg install || return 1 + + find $startdir/pkg -name '.packlist' -delete + find $startdir/pkg -name '*.pod' -delete +} |