upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / xdebug / repos / community-x86_64 / PKGBUILD
blobac364087bceb50555e6f6a03542de90b7342d372
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Maintainer: Jonathan Wiersma <arch aur at jonw dot org>
3 # Contributor: Jonathan Wiersma <arch aur at jonw dot org>
4 # Contributor: sracker <smb.sac@gmail.com>
6 pkgname=xdebug
7 pkgver=3.2.0
8 pkgrel=1
9 pkgdesc="PHP debugging extension"
10 arch=('x86_64')
11 url="https://www.xdebug.org"
12 license=('GPL')
13 depends=('php')
14 backup=('etc/php/conf.d/xdebug.ini')
15 source=("https://xdebug.org/files/$pkgname-${pkgver}.tgz"
16               'xdebug.ini')
17 sha256sums=('7769b20eecdadf5fbe9f582512c10b394fb575b6f7a8c3a3a82db6883e0032b7'
18             '7c66883dc2ade69069ef84e30188b25630748aa9c8b0dd123727c00505421205')
20 build() {
21   cd "$srcdir"/$pkgname-${pkgver}
22   phpize
23   ./configure --prefix=/usr --enable-xdebug
24   make
27 package() {
28   cd "$srcdir"/$pkgname-${pkgver}
29   make INSTALL_ROOT="$pkgdir" install
30   install -D -m 644 "$srcdir"/xdebug.ini "$pkgdir"/etc/php/conf.d/xdebug.ini