summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl_modules/perl-xml-twig/PKGBUILD
blob: b15b94bd46d0a3a4342b0fdfc7767d261dc78902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}