blob: 7b4dffa5929f2010a44ce8d5e3fa5ec87fc74e8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: tjbp (archlinux@tjbp.net)
pkgname='php-trace'
pkgver='1.0.1beta'
pkgrel='1'
pkgdesc='Extension for the tracing and troubleshooting tool for PHP scripts'
arch=('i686' 'x86_64')
url='https://pecl.php.net/package/trace'
license=('Apache')
depends=('php>=5.2')
source=("http://pecl.php.net/get/trace-$pkgver.tgz")
sha256sums=('82d50603cd8bc1142e42e3baa9a2f75253ef157fed170d543e7be4ad214aa4e6')
build() {
pushd "$srcdir/trace-$pkgver/extension"
phpize
./configure
make
popd
pushd "$srcdir/trace-$pkgver"
echo 'extension=trace.so' > trace.ini
popd
}
package() {
pushd "$srcdir/trace-$pkgver/extension"
make INSTALL_ROOT="$pkgdir" install
popd
pushd "$srcdir/trace-$pkgver"
install -Dm644 trace.ini "$pkgdir/etc/php/conf.d/trace.ini"
popd
}
|