[arch-commits] Commit in mod_perl/trunk (PKGBUILD)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Sun May 19 18:21:59 EDT 2013


    Date: Monday, May 20, 2013 @ 00:21:58
  Author: foutrelis
Revision: 185957

upgpkg: mod_perl 2.0.8-1

Bump to latest release and build against Perl 5.18.

Modified:
  mod_perl/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-19 22:11:21 UTC (rev 185956)
+++ PKGBUILD	2013-05-19 22:21:58 UTC (rev 185957)
@@ -4,7 +4,7 @@
 # Contributor: Tom K <tomk at runbox.com>
 
 pkgname=mod_perl
-pkgver=2.0.7
+pkgver=2.0.8
 pkgrel=1
 pkgdesc="Apache module that embeds the Perl interpreter within the server"
 arch=('i686' 'x86_64')
@@ -12,12 +12,12 @@
 license=('APACHE')
 depends=('perl' 'apache' 'db' 'apr-util' 'perl-linux-pid')
 options=('!emptydirs')
-source=(http://perl.apache.org/dist/$pkgname-$pkgver.tar.gz
+source=(http://apache.org/dist/perl/$pkgname-$pkgver.tar.gz
         mod_perl-2.0.6-nolfs.patch)
-sha256sums=('53414be9db843054b927f23a35edb7b82d99e32e031b3cd81d5ff2473f51e3c6'
+sha256sums=('35dc1b7a40a90a395ce88bba2df84f22289975f34d1757de6d715560c20a20e6'
             '5d1b6a051d847108b23b5dc06ea5885c37dd81d3a9156b69d179d95b5cf92f08')
 
-build() {
+prepare() {
   cd "$srcdir/$pkgname-$pkgver"
 
   # Patch from openSUSE to fix segfaults on i686 (FS#25008):
@@ -25,7 +25,11 @@
   #   FILE_OFFSET_BITS=64 because the conflict isn't real and causes the perl
   #   structures to be invalid if only the apache flags are used
   patch -Np1 -i "$srcdir/mod_perl-2.0.6-nolfs.patch"
+}
 
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
   # install module in vendor directories.
   perl Makefile.PL INSTALLDIRS=vendor MP_APXS=/usr/sbin/apxs
   make



More information about the arch-commits mailing list