[arch-commits] CVS update of arch/build/devel/php (PKGBUILD)

Tobias Kieslich tobias at archlinux.org
Thu May 3 23:26:39 UTC 2007


    Date: Thursday, May 3, 2007 @ 19:26:39
  Author: tobias
    Path: /home/cvs-arch/arch/build/devel/php

Modified: PKGBUILD (1.92 -> 1.93)

corrected a slight error in php-cgi install which caused libs to be
installed in / when no php is installed on compile time


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


Index: arch/build/devel/php/PKGBUILD
diff -u arch/build/devel/php/PKGBUILD:1.92 arch/build/devel/php/PKGBUILD:1.93
--- arch/build/devel/php/PKGBUILD:1.92	Fri Apr 27 19:20:13 2007
+++ arch/build/devel/php/PKGBUILD	Thu May  3 19:26:39 2007
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD,v 1.92 2007/04/27 23:20:13 tobias Exp $
+# $Id: PKGBUILD,v 1.93 2007/05/03 23:26:39 tobias Exp $
 # Maintainer: dorphell <dorphell at archlinux.org>
 
 # since php and php-cgi get always updated at the same time we combine
 # the packages
 pkgname=php
 pkgver=5.2.1
-pkgrel=3
+pkgrel=4
 _suhosinver=0.9.6.2
 pkgdesc="A high-level scripting language"
 arch=(i686 x86_64)
@@ -56,13 +56,13 @@
   # fixes a build error in sqlite support
   ln -s main/php_config.h ./config.h
   make || return 1
-  make INSTALL_ROOT=$startdir/pkg EXTENSION_DIR=`php-config --extension-dir` install
+  make INSTALL_ROOT=${startdir}/pkg install
 
    # here starts the cleanup
-  cd $startdir/pkg
+  cd ${startdir}/pkg
   rm -rf etc ./{.registry,.channels,.depdb*,.lock,.file*} usr/{include,share,lib,man}
-  rm $startdir/pkg/usr/bin/{phpize,php-config,pecl,pear*}
-  mv $startdir/pkg/usr/bin/php $startdir/pkg/usr/bin/php-cgi
+  rm ${startdir}/pkg/usr/bin/{phpize,php-config,pecl,pear*}
+  mv ${startdir}/pkg/usr/bin/php ${startdir}/pkg/usr/bin/php-cgi
 #########################################################################################
 
   ### make standard php




More information about the arch-commits mailing list