upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / xdebug / trunk / PKGBUILD
blob076aadf6fd6997f84d5ef12cd0fac76791543c69
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             '2c57dbc93f355bf819a14703097231e4ba92c175f273709911fc87fcfa3317f9')
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