summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-xml-xpath/PKGBUILD
blob: 81ae23a1321cbe3c07fdf28f3687da310a9076da (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
# $Id$
#Maintainer:

pkgname=perl-xml-xpath
pkgver=1.42
pkgrel=1
pkgdesc="A set of modules for parsing and evaluating XPath statements"
arch=('any')
url="https://metacpan.org/release/XML-XPath"
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-xml-parser')
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/M/MA/MANWAR/XML-XPath-$pkgver.tar.gz")
sha1sums=('addb3668a25ba45b7242bd2ff78a1f704d6edf14')

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

check() {
  cd "${srcdir}/XML-XPath-${pkgver}"
#  make test
}

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