[arch-commits] Commit in mod_perl/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Eric Belanger
eric at archlinux.org
Mon Jun 16 22:51:07 UTC 2008
Date: Monday, June 16, 2008 @ 18:51:07
Author: eric
Revision: 2957
fixed svn conflict
Modified:
mod_perl/repos/extra-x86_64/ (properties)
mod_perl/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
Property changes on: mod_perl/repos/extra-x86_64
___________________________________________________________________
Name: svnmerge-integrated
- /mod_perl/trunk:1
+ /mod_perl/trunk:1-2954
Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2008-06-16 22:45:38 UTC (rev 2956)
+++ extra-x86_64/PKGBUILD 2008-06-16 22:51:07 UTC (rev 2957)
@@ -1,28 +1,28 @@
+# $Id$
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Maintainer: Tom K <tomk at runbox.com>
+
pkgname=mod_perl
-pkgver=2.0.3
-pkgrel=3
+_realname=mod_perl
+pkgver=2.0.4
+pkgrel=1
pkgdesc="Apache module that embeds the Perl interpreter within the server"
-url="http://search.cpan.org/~PGOLLUCCI/mod_perl"
-depends=('perl' 'apache' 'db>=4.6' 'apr-util')
-license="GPL"
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl>=5.10.0' 'apache' 'db>=4.6' 'apr-util')
+license=('APACHE')
arch=('i686' 'x86_64')
-source=(http://www.cpan.org/authors/id/P/PG/PGOLLUCCI/mod_perl-$pkgver.tar.gz)
-md5sums=('b40e2adf67c6be15a0041af1c67b6997')
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/G/GO/GOZER/${_realname}-${pkgver}.tar.gz)
+md5sums=('1a05625ae6843085f985f5da8214502a')
build() {
- cd $startdir/src/mod_perl-$pkgver
- eval `perl -V:archname`
- # Force module installation to "current" perl directories.
- /usr/bin/perl Makefile.PL MP_APXS=/usr/sbin/apxs \
- INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
- INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
- INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
+ cd ${startdir}/src/${_realname}-${pkgver}
+ # install module in vendor directories.
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/sbin/apxs || return 1
/usr/bin/make || return 1
- /usr/bin/make DESTDIR=$startdir/pkg install
- # remove perllocal.pod, .packlist, and empty dirs:
- /usr/bin/find $startdir/pkg -name '.packlist' -exec rm '{}' \;
- /usr/bin/find $startdir/pkg -name 'perllocal.pod' -exec rm '{}' \;
- /usr/bin/find $startdir/pkg -depth -type d -empty -exec rmdir '{}' \;
+ /usr/bin/make install DESTDIR=${startdir}/pkg || return 1
+
+ # remove perllocal.pod and .packlist.
+ /usr/bin/find ${startdir}/pkg -name 'perllocal.pod' -delete
+ /usr/bin/find ${startdir}/pkg -name '.packlist' -delete
}
More information about the arch-commits
mailing list