blob: bb63cb0fde7484f9727648e457014fe57377b422 (
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
36
37
38
39
40
41
42
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=perl-xml-libxml
pkgver=2.0018
pkgrel=1
pkgdesc="Interface to the libxml library"
url="http://search.cpan.org/dist/XML-LibXML"
arch="all"
license="GPL"
depends="perl perl-xml-namespacesupport perl-xml-sax"
depends_dev="perl-dev libxml2-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz"
_builddir="$srcdir"/XML-LibXML-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="c5db1c6ba5f588802a5e1a15b5b6d653 XML-LibXML-2.0018.tar.gz"
sha256sums="8d2e49c95e3bb8fb20952fdc7af7b7a972d89a64456bf8d6d62a874e0a0fffc8 XML-LibXML-2.0018.tar.gz"
sha512sums="b16269ff493ef26c9786bc739b171344c48096e76a9b14b99873ad66de6702b47da3df6a67c7f5d570f46e6d2ac2a82f928666d740c42e6e290ea6ce39a4ef7f XML-LibXML-2.0018.tar.gz"
|