blob: 180d8243813a7e6f8aa9ebcfabc83c060fdd20f4 (
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
29
30
31
32
|
# $Id: PKGBUILD 112654 2014-06-04 13:52:34Z bluewind $
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: trizen .= x@gmail.com
pkgname=perl-xml-fast
pkgver=0.11
pkgrel=5
pkgdesc="Simple and very fast XML to hash conversion."
arch=('x86_64' 'i686')
url="http://search.cpan.org/dist/XML-Fast/"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/M/MO/MONS/XML-Fast-${pkgver}.tar.gz")
md5sums=('a2985cc2f328cf9eda6ad75c3f40f6b3')
build() {
cd "${srcdir}/XML-Fast-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "${srcdir}/XML-Fast-${pkgver}"
make DESTDIR="${pkgdir}" install
find ${pkgdir} -name '.packlist' -delete
find ${pkgdir} -name '*.pod' -delete
}
|