[arch-commits] Commit in mod_perl/repos (extra-i686 extra-i686/PKGBUILD)

Kevin Piche kevin at archlinux.org
Mon Jun 16 01:44:20 UTC 2008


    Date: Sunday, June 15, 2008 @ 21:44:20
  Author: kevin
Revision: 2925

Merged revisions 2-2924 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/mod_perl/trunk

........
  r356 | aaron | 2008-04-18 18:56:27 -0400 (Fri, 18 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r2924 | kevin | 2008-06-15 21:44:03 -0400 (Sun, 15 Jun 2008) | 2 lines
  
  upgpkg: mod_perl 2.0.4-1
      Corrected license
........

Modified:
  mod_perl/repos/extra-i686/	(properties)
  mod_perl/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   37 ++++++++++++++++++-------------------
 1 file changed, 18 insertions(+), 19 deletions(-)


Property changes on: mod_perl/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /mod_perl/trunk:1
   + /mod_perl/trunk:1-2924

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2008-06-16 01:44:03 UTC (rev 2924)
+++ extra-i686/PKGBUILD	2008-06-16 01:44:20 UTC (rev 2925)
@@ -1,28 +1,27 @@
 # 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' 'x64_86')
-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