summaryrefslogtreecommitdiff
path: root/community-testing/xdebug/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/xdebug/PKGBUILD')
-rw-r--r--community-testing/xdebug/PKGBUILD45
1 files changed, 0 insertions, 45 deletions
diff --git a/community-testing/xdebug/PKGBUILD b/community-testing/xdebug/PKGBUILD
deleted file mode 100644
index 3c21729e1..000000000
--- a/community-testing/xdebug/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 70085 2012-04-29 06:43:40Z pschmitz $
-# 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.2.0RC2
-pkgrel=1
-pkgdesc="PHP debugging extension"
-arch=('i686' 'x86_64')
-url="http://www.xdebug.org"
-license=('GPL')
-depends=('php')
-install="${pkgname}.install"
-backup=('etc/php/conf.d/xdebug.ini')
-source=(http://www.xdebug.org/files/$pkgname-$pkgver.tgz
- xdebug-5.2.ini
- xdebug.ini)
-md5sums=('2227de3691ca569d17a342ae30b2e57c'
- '6b7fdbbe0bf381bda40e77e29981f439'
- '68de800943369d4c76bdf7eb35c8463b')
-
-build() {
- local PHPVER=`php -r 'echo phpversion();'`
-
- cd $srcdir/$pkgname-$pkgver
- phpize
- ./configure --prefix=/usr --enable-xdebug
- make
-
- cd debugclient
- ./configure --prefix=/usr
- make
- 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 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
- install -D -m 644 $srcdir/xdebug.ini $pkgdir/etc/php/conf.d/xdebug.ini
- fi
-}