mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
31 lines
1,013 B
Bash
31 lines
1,013 B
Bash
# $Id: PKGBUILD 53970 2009-10-04 13:19:56Z andrea $
|
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
|
# Contributor: Kevin Piche <kevin@archlinux.org>
|
|
# Contributor: Manolis Tzanidakis
|
|
|
|
pkgname=perl-libwww
|
|
_realname=libwww-perl
|
|
pkgver=5.832
|
|
pkgrel=1
|
|
pkgdesc="A set of Perl modules which provides a simple and consistent API to the WWW."
|
|
arch=('any')
|
|
license=('PerlArtistic')
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
depends=('perl-uri' 'perl-html-parser' 'perl>=5.10.0')
|
|
options=('!emptydirs')
|
|
replaces=('libwww-perl')
|
|
provides=('libwww-perl')
|
|
source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz)
|
|
md5sums=('c9f55afa68cdbe53cae34a80a2aea1b5')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-${pkgver}
|
|
# install module in vendor directories.
|
|
perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=${pkgdir} || return 1
|
|
|
|
# remove perllocal.pod and .packlist
|
|
find ${pkgdir} -name perllocal.pod -delete
|
|
find ${pkgdir} -name .packlist -delete
|
|
}
|