diff options
author | Nico Suarez | 2015-06-16 11:14:28 +0800 |
---|---|---|
committer | Nico Suarez | 2015-06-16 11:14:28 +0800 |
commit | 7c61c9511e746eaee0d9c5f8e6f8d48ab0b3ed64 (patch) | |
tree | c655ad8f0fe8590500b4bf151693d2086b7c301f | |
download | aur-php-uprofiler-git.tar.gz |
Migrated from old AUR
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 36 | ||||
-rw-r--r-- | uprofiler.ini | 1 |
4 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a58f0af6d5a5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = php-uprofiler-git + pkgdesc = A passive hierarchichal profiler for PHP. + pkgver = r117.483c1e5 + pkgrel = 1 + url = https://github.com/FriendsOfPHP/uprofiler + arch = i686 + arch = x86_64 + license = APACHE + makedepends = make + makedepends = git + depends = php + provides = php-uprofiler + source = uprofiler::git://github.com/FriendsOfPHP/uprofiler.git + source = uprofiler.ini + sha256sums = SKIP + sha256sums = 1a4ae4076cef64dd8412831fc5674831c26e8e6db6aec7a7244fde96a1d63fce + +pkgname = php-uprofiler-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..c2bb6dc4b165 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.tar.xz +uprofiler/* +pkg/* +src/* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7af2de6c7862 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +#!/bin/bash +# Maintainer: Nico Suarez <nicodoggie@gmail.com> +_pkgname=uprofiler +pkgname=php-${_pkgname}-git +pkgver=r117.483c1e5 +pkgrel=1 +pkgdesc="A passive hierarchichal profiler for PHP." +arch=('i686' 'x86_64') +url="https://github.com/FriendsOfPHP/uprofiler" +license=('APACHE') +provides=('php-uprofiler') +makedepends=('make' 'git') +depends=('php') + +source=("uprofiler::git://github.com/FriendsOfPHP/uprofiler.git" "uprofiler.ini") +sha256sums=('SKIP' + '1a4ae4076cef64dd8412831fc5674831c26e8e6db6aec7a7244fde96a1d63fce') + +pkgver() { + cd "${srcdir}/${_pkgname}" + + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "${_pkgname}/extension" phpize + phpize + ./configure --with-php-config=/usr/bin/php-config --prefix=/usr + make +} + +package() { + cd "$srcdir/${_pkgname}/extension" + make INSTALL_ROOT="$pkgdir/" install + install -Dm644 "$srcdir/uprofiler.ini" "$pkgdir/etc/php/conf.d/uprofiler.ini" +} diff --git a/uprofiler.ini b/uprofiler.ini new file mode 100644 index 000000000000..84595152823b --- /dev/null +++ b/uprofiler.ini @@ -0,0 +1 @@ +extension=uprofiler.so |