summaryrefslogtreecommitdiff
path: root/community/xdebug
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-19 23:14:47 +0000
committerroot <root@rshg054.dnsready.net>2011-08-19 23:14:47 +0000
commitc6a4d3790fc33558d9af322dac15d2bd6d34ac0b (patch)
tree934e1d11b80c8529b23dcb07b626c5b81e8b156d /community/xdebug
parent59eecef62ae9aa7dd391310f30293318f641c59c (diff)
Fri Aug 19 23:14:46 UTC 2011
Diffstat (limited to 'community/xdebug')
-rw-r--r--community/xdebug/PKGBUILD34
1 files changed, 17 insertions, 17 deletions
diff --git a/community/xdebug/PKGBUILD b/community/xdebug/PKGBUILD
index 942ee4a41..749bcebd6 100644
--- a/community/xdebug/PKGBUILD
+++ b/community/xdebug/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 43879 2011-03-30 18:59:05Z spupykin $
+# $Id: PKGBUILD 54418 2011-08-18 09:30:31Z 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>
# Contributor: sracker <smb.sac@gmail.com>
pkgname=xdebug
-pkgver=2.1.1
+pkgver=2.1.2
pkgrel=1
pkgdesc="PHP debugging extension"
arch=('i686' 'x86_64')
@@ -17,29 +17,29 @@ backup=('etc/php/conf.d/xdebug.ini')
source=(http://www.xdebug.org/files/$pkgname-$pkgver.tgz
xdebug-5.2.ini
xdebug.ini)
-md5sums=('fcdf078e715f44b77f13bac721ad63ce'
+md5sums=('3a9c3402063c8163de6e419ddc8d96e7'
'6b7fdbbe0bf381bda40e77e29981f439'
'68de800943369d4c76bdf7eb35c8463b')
build() {
- local PHPVER=$(php -r 'echo phpversion();')
+ local PHPVER=`php -r 'echo phpversion();'`
- cd $srcdir/$pkgname-$pkgver || return 1
- phpize || return 1
- ./configure --prefix=/usr --enable-xdebug || return 1
- make || return 1
+ cd $srcdir/$pkgname-$pkgver
+ phpize
+ ./configure --prefix=/usr --enable-xdebug
+ make
- cd debugclient || return 1
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=$pkgdir install || return 1
+ cd debugclient
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$pkgdir install
- cd $srcdir/$pkgname-$pkgver || return 1
+ cd $srcdir/$pkgname-$pkgver
if [ "$PHPVER" \< "5.3.0" ] ; then
- install -D -m 744 modules/xdebug.so $pkgdir/usr/lib/php/xdebug.so || return 1
- install -D -m 644 $srcdir/xdebug-5.2.ini $pkgdir/etc/php/conf.d/xdebug.ini || return 1
+ install -D -m 744 modules/xdebug.so $pkgdir/usr/lib/php/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 || return 1
- install -D -m 644 $srcdir/xdebug.ini $pkgdir/etc/php/conf.d/xdebug.ini || return 1
+ install -D -m 744 modules/xdebug.so $pkgdir/usr/lib/php/modules/xdebug.so
+ install -D -m 644 $srcdir/xdebug.ini $pkgdir/etc/php/conf.d/xdebug.ini
fi
}