blob: dbb83da518d003a4c291f57f79efe23ce120b5f5 (
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
|
# Maintainer: Maxim Novikov <the.mlex@gmail.com>
pkgname=php-pinba
_pkgname=pinba_extension-edbc313f1b4fb8407bf7d5acf63fbb0359c7fb2e
pkgver=1.1.1
pkgrel=1
pkgdesc="Pinba client C-extension for PHP"
url="http://pinba.org"
arch=('x86_64' 'i686')
license=('GPL3')
depends=('php')
makedepends=('gcc')
source=(https://github.com/tony2001/pinba_extension/archive/edbc313f1b4fb8407bf7d5acf63fbb0359c7fb2e.zip)
sha256sums=('SKIP')
build() {
cd "$srcdir/$_pkgname"
phpize
./configure --prefix=/usr --enable-pinba
make
}
package() {
cd "$srcdir/$_pkgname"
make INSTALL_ROOT="$pkgdir" install
echo 'extension=pinba.so' > pinba.ini
install -Dm644 pinba.ini "$pkgdir/etc/php/conf.d/pinba.ini"
}
|