summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-xml-twig/PKGBUILD
blob: b20735d2398bb0fd71416a0da892e0f6080ee26f (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
27
28
# $Id$
# Maintainer: damir <damir@archlinux.org>
# Maintainer/Contributor: Francois Charette <firmicus@gmx.net>

pkgname=perl-xml-twig
_realname=XML-Twig
pkgver=3.34
pkgrel=3
pkgdesc="A module for easy processing of XML"
arch=('any')
url="http://search.cpan.org/dist/${_realname}/"
license=('GPL' 'PerlArtistic')
depends=('perl-xml-parser>=2.23' 'perl-text-iconv' 'perl>=5.12.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MI/MIROD/${_realname}-${pkgver}.tar.gz) 
md5sums=('88a24e3e09b2fc1e252f7662d1291f9a')

build() {
  cd  "${srcdir}/${_realname}-${pkgver}"
  perl Makefile.PL -y INSTALLDIRS=vendor
  make
  make test
}

package() {
  cd  "${srcdir}/${_realname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}