mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
985 B
Bash
29 lines
985 B
Bash
# $Id: PKGBUILD 52082 2009-09-15 21:39:29Z francois $
|
|
# Maintainer: tobias <tobias@archlinux.org>
|
|
# Contributor: Tobias Kieslich <tobias@justdreams.de>
|
|
# Contributor: François Charette <francois.archlinux.org>
|
|
|
|
pkgname=perl-anyevent
|
|
_cpanname=AnyEvent
|
|
pkgver=5.12
|
|
pkgrel=1
|
|
pkgdesc="Perl/CPAN AnyEvent module - Framework for multiple event loops"
|
|
license=('PerlArtistic' 'GPL')
|
|
arch=(any)
|
|
url="http://search.cpan.org/dist/${_cpanname}/"
|
|
depends=('perl-event' 'glib-perl' 'perl>=5.10.0')
|
|
options=(force !emptydirs)
|
|
source=(http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/${_cpanname}-${pkgver}.tar.gz)
|
|
md5sums=('b0477d63f9270a7fcfde46842cf51def')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_cpanname}-${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
|
|
}
|