blob: 02e5017cf6ef053f383d491a01bdb2c1b3d7076a (
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
|
# Maintainer : Brian Bidulock <bidulock@openss7.org>
# Contributor : Mr_Men <tetcheve at gmail dot com>
pkgname=perl-xml-tokeparser
_realname=XML-TokeParser
pkgver=0.05
pkgrel=4
pkgdesc="Perl/CPAN Module XML::TokeParser"
arch=('any')
license=('GPL' 'PerlArtistic')
url=http://search.cpan.org/CPAN/authors/id/M/ME/MERLYN/
depends=('perl' 'perl-xml-parser>=2')
options=(!emptydirs)
source=("http://search.cpan.org/CPAN/authors/id/P/PO/PODMASTER/${_realname}-$pkgver.tar.gz")
md5sums=('a886ac451d99dca522df20d7cf7b28b4')
build () {
cd ${_realname}-$pkgver
# install module in vendor directories.
perl Makefile.PL INSTALLDIRS=vendor
make
}
package () {
cd ${_realname}-$pkgver
make install DESTDIR=${pkgdir}
# remove perllocal.pod and .packlist
find ${pkgdir} \( -name perllocal.pod -o -name .packlist \) -delete
}
|