blob: b5535184f260fb40d2d18d0a41939414d7d6ad54 (
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
35
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-xml-xpath
_pkgreal=XML-XPath
pkgver=1.40
pkgrel=0
pkgdesc="a set of modules for parsing and evaluating XPath statements"
url="http://search.cpan.org/dist/XML-XPath/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-xml-parser perl-path-tiny"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MA/MANWAR/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
make && make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="80c6184346e861b61ec0f6b1c870d8551934976e8c1f5c887bb1fdbe0fc2dc966342f8baa45834f3e821e1cd86888d7fcc7f09097fd7a223bb7c1865b4bd65f4 XML-XPath-1.40.tar.gz"
|