summaryrefslogtreecommitdiff
path: root/community/xdebug
diff options
context:
space:
mode:
Diffstat (limited to 'community/xdebug')
-rw-r--r--community/xdebug/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/xdebug/PKGBUILD b/community/xdebug/PKGBUILD
index 505bd2f59..d35adfd72 100644
--- a/community/xdebug/PKGBUILD
+++ b/community/xdebug/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 88528 2013-04-19 10:32:46Z spupykin $
+# $Id: PKGBUILD 88795 2013-04-22 10:32:02Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jonathan Wiersma <arch aur at jonw dot org>
# Contributor: Jonathan Wiersma <arch aur at jonw dot org>
@@ -6,7 +6,7 @@
pkgname=xdebug
pkgver=2.2.2
-pkgrel=1
+pkgrel=2
pkgdesc="PHP debugging extension"
arch=('i686' 'x86_64')
url="http://www.xdebug.org"
@@ -22,8 +22,6 @@ md5sums=('5687bca6270b9668721090d780c7c966'
'68de800943369d4c76bdf7eb35c8463b')
build() {
- local PHPVER=`php -r 'echo phpversion();'`
-
cd $srcdir/$pkgname-$pkgver
phpize
./configure --prefix=/usr --enable-xdebug
@@ -35,12 +33,14 @@ build() {
}
package() {
+ local PHPVER=`php -r 'echo phpversion();'`
+
cd $srcdir/$pkgname-$pkgver/debugclient
make DESTDIR=$pkgdir install
cd $srcdir/$pkgname-$pkgver
if [ "$PHPVER" \< "5.3.0" ] ; then
- install -D -m 744 modules/xdebug.so $pkgdir/usr/lib/php/xdebug.so
+ install -D -m 744 modules/xdebug.so $pkgdir/usr/lib/php/modules/xdebug.so
install -D -m 644 $srcdir/xdebug-5.2.ini $pkgdir/etc/php/conf.d/xdebug.ini
else
install -D -m 744 modules/xdebug.so $pkgdir/usr/lib/php/modules/xdebug.so