updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / php-zend-debugger / PKGBUILD
blob6299e43e14f501cb0f10f8f1d6c816c6ec9adaba
1 # Maintainer: Shanto <shanto@hotmail.com>
2 # Contributor: p2k <Patrick.Schneider@uni-ulm.de>
4 pkgname=php-zend-debugger
5 pkgver=5.3.18
6 _pkgrel=20110322
7 pkgrel=2
8 pkgdesc="Zend Debugger extention for PHP"
9 arch=('i686' 'x86_64')
10 url="http://www.zend.com/en/community/pdt"
11 license=('custom')
12 depends=('php>=5.3')
13 conflicts=('zend-debugger')
14 provides=('zend-debugger')
15 install=${pkgname}.install
16 source=(
17         http://downloads.zend.com/pdt/plugins/org.zend.php.debug.debugger.linux.x86_64_${pkgver}.v${_pkgrel}.jar
18         zend_debugger.ini
19         ${pkgname}.install
21 md5sums=(
22         977a70d7513f47fb2aea246354ff0149
23         ed5430a12114428be83fa3fb08e740b1
24         abbdb49cf13828f4cb08791af299558a
26 [ "$CARCH" == "i686" ] && {
27         source[0]=${source[0]/x86_64/x86}
28         md5sums[0]=588f6645ac8dd72f25e62f5ae48332f9
31 build() {
32         cd "$srcdir"
33         find -path 5_3_x_comp/ZendDebugger.so
34         install -D -m 744 resources/php53/ZendDebugger.so "$pkgdir/usr/lib/php/modules/zend_debugger.so"
35         install -D -m 744 ../zend_debugger.ini "$pkgdir/etc/php/conf.d/zend_debugger.ini"