diff options
author | root <root@rshg054.dnsready.net> | 2013-08-03 02:14:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-03 02:14:34 -0700 |
commit | e191a289464c21aafe7478065ea7ed3ddda0766f (patch) | |
tree | 33e61960f3a6260338d4d696605b4ddee3014804 /community/xdebug | |
parent | f7cd2a0a073da2373cd3f3c8e31515dd0b83b645 (diff) |
Sat Aug 3 02:13:05 PDT 2013
Diffstat (limited to 'community/xdebug')
-rw-r--r-- | community/xdebug/PKGBUILD | 18 | ||||
-rw-r--r-- | community/xdebug/xdebug-5.2.ini | 5 | ||||
-rw-r--r-- | community/xdebug/xdebug.ini | 2 | ||||
-rw-r--r-- | community/xdebug/xdebug.install | 18 |
4 files changed, 6 insertions, 37 deletions
diff --git a/community/xdebug/PKGBUILD b/community/xdebug/PKGBUILD index b6b2cc3e9..34050cc83 100644 --- a/community/xdebug/PKGBUILD +++ b/community/xdebug/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 92281 2013-06-03 13:37:54Z spupykin $ +# $Id: PKGBUILD 94986 2013-08-02 13:00:08Z 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,20 +6,17 @@ pkgname=xdebug pkgver=2.2.3 -pkgrel=1 +pkgrel=2 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=('e49cec9861b45dc0b36eae33bf8a14fa' - '6b7fdbbe0bf381bda40e77e29981f439' - '68de800943369d4c76bdf7eb35c8463b') + '6a1f2ef91c632d4c9b7b218cd2e278ef') build() { cd $srcdir/$pkgname-$pkgver @@ -39,11 +36,6 @@ package() { 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/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 - install -D -m 644 $srcdir/xdebug.ini $pkgdir/etc/php/conf.d/xdebug.ini - fi + make INSTALL_ROOT=$pkgdir install + install -D -m 644 $srcdir/xdebug.ini $pkgdir/etc/php/conf.d/xdebug.ini } diff --git a/community/xdebug/xdebug-5.2.ini b/community/xdebug/xdebug-5.2.ini deleted file mode 100644 index 9beb7fc30..000000000 --- a/community/xdebug/xdebug-5.2.ini +++ /dev/null @@ -1,5 +0,0 @@ -zend_extension=/usr/lib/php/xdebug.so -;xdebug.remote_enable=on -;xdebug.remote_host=127.0.0.1 -;xdebug.remote_port=9000 -;xdebug.remote_handler=dbgp diff --git a/community/xdebug/xdebug.ini b/community/xdebug/xdebug.ini index c6c9222ea..9062dfc8b 100644 --- a/community/xdebug/xdebug.ini +++ b/community/xdebug/xdebug.ini @@ -1,4 +1,4 @@ -zend_extension=/usr/lib/php/modules/xdebug.so +;zend_extension=/usr/lib/php/modules/xdebug.so ;xdebug.remote_enable=on ;xdebug.remote_host=127.0.0.1 ;xdebug.remote_port=9000 diff --git a/community/xdebug/xdebug.install b/community/xdebug/xdebug.install deleted file mode 100644 index a7ec0b9cc..000000000 --- a/community/xdebug/xdebug.install +++ /dev/null @@ -1,18 +0,0 @@ -post_install() { - local _configfile=/etc/php/conf.d/xdebug.ini - echo " ==> You may wish to uncomment/change the settings found in " - echo " $_configfile" - echo "" -} - -post_upgrade() { - local _configfile=/etc/php/conf.d/xdebug.ini - local PHPVER=$(php -r 'echo phpversion();') - post_install $1 - - if [ "$PHPVER" \< "5.3" ] ; then - echo " ==> You are currenty running a version of php < 5.3." - echo " When/if you upgrade php to a version >= 5.3, you will need to reinstall $pkgname." - echo "" - fi -} |