mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
870 B
Bash
25 lines
870 B
Bash
# Contributor: François Charette <firmicus ατ gmx δοτ net>
|
|
|
|
pkgname=perl-xml-libxml-common
|
|
pkgver=0.13
|
|
pkgrel=3
|
|
pkgdesc="Routines and Constants common for XML::LibXML and XML::GDOME"
|
|
arch=('i686' 'x86_64')
|
|
url="http://search.cpan.org/dist/XML-LibXML-Common"
|
|
license=('GPL' 'PerlArtistic')
|
|
depends=('perl>=5.10.0' 'libxml2')
|
|
provides=('perl-libxml-common')
|
|
replaces=('perl-libxml-common')
|
|
conflicts=('perl-libxml-common')
|
|
options=('!emptydirs')
|
|
source=(http://www.cpan.org/authors/id/P/PH/PHISH/XML-LibXML-Common-$pkgver.tar.gz)
|
|
md5sums=('13b6d93f53375d15fd11922216249659')
|
|
|
|
build() {
|
|
cd $startdir/src/XML-LibXML-Common-$pkgver
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=$startdir/pkg || return 1
|
|
find $startdir/pkg -name '.packlist' -delete
|
|
find $startdir/pkg -name '*.pod' -delete
|
|
}
|