[arch-commits] Commit in xdebug/repos (3 files)

Pierre Schmitz pierre at archlinux.org
Sun Dec 3 14:09:41 UTC 2017


    Date: Sunday, December 3, 2017 @ 14:09:40
  Author: pierre
Revision: 271987

archrelease: copy trunk to community-staging-x86_64

Added:
  xdebug/repos/community-staging-x86_64/
  xdebug/repos/community-staging-x86_64/PKGBUILD
    (from rev 271986, xdebug/trunk/PKGBUILD)
  xdebug/repos/community-staging-x86_64/xdebug.ini
    (from rev 271986, xdebug/trunk/xdebug.ini)

------------+
 PKGBUILD   |   39 +++++++++++++++++++++++++++++++++++++++
 xdebug.ini |    5 +++++
 2 files changed, 44 insertions(+)

Copied: xdebug/repos/community-staging-x86_64/PKGBUILD (from rev 271986, xdebug/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-12-03 14:09:40 UTC (rev 271987)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jonathan Wiersma <arch aur at jonw dot org>
+# Contributor: Jonathan Wiersma <arch aur at jonw dot org>
+# Contributor: sracker <smb.sac at gmail.com>
+
+pkgname=xdebug
+pkgver=2.6.0alpha1
+pkgrel=1
+pkgdesc="PHP debugging extension"
+arch=('x86_64')
+url="http://www.xdebug.org"
+license=('GPL')
+depends=('php')
+backup=('etc/php/conf.d/xdebug.ini')
+source=("https://www.xdebug.org/files/$pkgname-${pkgver,,}.tgz"
+	'xdebug.ini')
+sha256sums=('145f3a41e746e59872d73caf368399f68d4ee8379e449ebd1a62bdaf1927841f'
+            '7c66883dc2ade69069ef84e30188b25630748aa9c8b0dd123727c00505421205')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  phpize
+  ./configure --prefix=/usr --enable-xdebug
+  make
+
+  cd "$srcdir"/$pkgname-$pkgver/debugclient
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver/debugclient
+  make DESTDIR="$pkgdir" install
+
+  cd "$srcdir"/$pkgname-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+  install -D -m 644 "$srcdir"/xdebug.ini "$pkgdir"/etc/php/conf.d/xdebug.ini
+}

Copied: xdebug/repos/community-staging-x86_64/xdebug.ini (from rev 271986, xdebug/trunk/xdebug.ini)
===================================================================
--- community-staging-x86_64/xdebug.ini	                        (rev 0)
+++ community-staging-x86_64/xdebug.ini	2017-12-03 14:09:40 UTC (rev 271987)
@@ -0,0 +1,5 @@
+;zend_extension=xdebug.so
+;xdebug.remote_enable=on
+;xdebug.remote_host=127.0.0.1
+;xdebug.remote_port=9000
+;xdebug.remote_handler=dbgp



More information about the arch-commits mailing list