summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl_modules/perl-xml-xql/PKGBUILD
blob: 34757a39d2f9572addaae71da3a01dc21a1b07ae (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
33
34
# Contributor: ndlarsen <ndlarsen@gmail.com>
# Comment: Based on PKGBUILDs from the perlcpan repo by Charles Mauch <cmauch@gmail.com>

pkgname=perl-xml-xql
pkgver=0.68
pkgrel=1
pkgdesc="A perl module for querying XML tree structures with XQL"
arch=('i686')
url="http://search.cpan.org/dist/XML-XQL/lib/XML/XQL.pm"
license=('GPL Artistic')
depends=('perl-parse-yapp' 'perl-xml-dom' 'perl-xml-parser' 'perl-date-manip')
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
groups=()
options=(docs !emptydirs)
install=
noextract=()
source=(http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/XML-XQL-$pkgver.tar.gz)
md5sums=('bb84096fdf8bcc96a35971539ce8c19e')

build() {

	cd $startdir/src/XML-XQL-$pkgver
	/usr/bin/perl Makefile.PL INSTALLDIRS=vendor MAN1ext=1p MAN3EXT=3pm
	make || return 1
	make DESTDIR=$startdir/pkg install || return 1
	/usr/bin/find $startdir/pkg -name '.packlist' -exec rm  '{}' \; && \
	/usr/bin/find $startdir/pkg -name 'perllocal.pod' -exec rm  '{}' \; 
		
}
# $Id$