[arch-commits] Commit in xdebug/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Fri Nov 27 22:49:48 UTC 2020
Date: Friday, November 27, 2020 @ 22:49:47
Author: spupykin
Revision: 764761
upgpkg: xdebug 3.0.0-1
Modified:
xdebug/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-27 22:45:33 UTC (rev 764760)
+++ PKGBUILD 2020-11-27 22:49:47 UTC (rev 764761)
@@ -4,7 +4,7 @@
# Contributor: sracker <smb.sac at gmail.com>
pkgname=xdebug
-pkgver=2.9.6
+pkgver=3.0.0
pkgrel=1
pkgdesc="PHP debugging extension"
arch=('x86_64')
@@ -12,27 +12,20 @@
license=('GPL')
depends=('php')
backup=('etc/php/conf.d/xdebug.ini')
-source=("https://xdebug.org/files/$pkgname-${pkgver/rc/RC}.tgz"
+source=("https://xdebug.org/files/$pkgname-${pkgver}.tgz"
'xdebug.ini')
-sha256sums=('ab03b6014706491b393aa8d520b5bdaf6735a2f1bc12a7772b2916ef2646e454'
+sha256sums=('845007e82c1d4e088770d1d87f5832aa3a767cb5a3664fc1615db62cecc3ca62'
'7c66883dc2ade69069ef84e30188b25630748aa9c8b0dd123727c00505421205')
build() {
- cd "$srcdir"/$pkgname-${pkgver/rc/RC}
+ cd "$srcdir"/$pkgname-${pkgver}
phpize
./configure --prefix=/usr --enable-xdebug
make
-
- cd "$srcdir"/$pkgname-${pkgver/rc/RC}/debugclient
- ./configure --prefix=/usr
- make
}
package() {
- cd "$srcdir"/$pkgname-${pkgver/rc/RC}/debugclient
- install -D -m 755 debugclient "$pkgdir"/usr/bin/debugclient
-
- cd "$srcdir"/$pkgname-${pkgver/rc/RC}
+ cd "$srcdir"/$pkgname-${pkgver}
make INSTALL_ROOT="$pkgdir" install
install -D -m 644 "$srcdir"/xdebug.ini "$pkgdir"/etc/php/conf.d/xdebug.ini
}
More information about the arch-commits
mailing list