summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortjbp2016-07-13 01:22:23 +0100
committertjbp2016-07-13 01:22:23 +0100
commitd85bac5ece674089836051a3d4c8d4e28112fdae (patch)
tree64e116c428fd146898c1fce58c6eba97fd58b355
downloadaur-d85bac5ece674089836051a3d4c8d4e28112fdae.tar.gz
First commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD32
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3490ee44d6d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Wed Jul 13 00:17:37 UTC 2016
+pkgbase = php-trace
+ pkgdesc = Extension for the tracing and troubleshooting tool for PHP scripts
+ pkgver = 0.3.0
+ pkgrel = 1
+ url = https://pecl.php.net/package/trace
+ arch = i686
+ arch = x86_64
+ license = Apache
+ depends = php>=5.1
+ source = http://pecl.php.net/get/trace-0.3.0.tgz
+ sha256sums = aa5f6a91a77ef11f4102b542847b32fce03ea7777081ebb86a812228526b38f7
+
+pkgname = php-trace
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8ea090ed494
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: tjbp (archlinux@tjbp.net)
+
+pkgname='php-trace'
+pkgver='0.3.0'
+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.1')
+source=("http://pecl.php.net/get/trace-$pkgver.tgz")
+sha256sums=('aa5f6a91a77ef11f4102b542847b32fce03ea7777081ebb86a812228526b38f7')
+
+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/php56/conf.d/trace.ini"
+ popd
+}