updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / zend-debugger / PKGBUILD
blob79211f1357a0c0ab9f07203334118ed3efbef9ad
1 # Maintainer: Shanto <shanto at hotmail>
2 # Contributor: p2k <Patrick.Schneider@uni-ulm.de>
4 pkgname=zend-debugger
5 pkgver=20100729
6 pkgrel=1
7 pkgdesc="PHP extension for debugging web servers with Eclipse"
8 arch=('i686' 'x86_64')
9 url="http://www.zend.com/en/community/pdt"
10 license=('custom')
11 depends=('php>=5.3')
12 install="${pkgname}.install"
14 if [ "$CARCH" == "x86_64" ];then
15         DL_ARCH=x86_64
16         md5sums=(
17                 '5423c72de2e4715663186ea5c6cc0ab0'
18                 '160291bcdac386e4d19f2b823e49b602'
19                 '9b586bb6e0a2d3d32543417023af0b4b'
20         )
21 else
22         DL_ARCH=i386
23         md5sums=(
24                 '6112762c697af055d65e77f4b5705c17'
25                 '160291bcdac386e4d19f2b823e49b602'
26                 '9b586bb6e0a2d3d32543417023af0b4b'
27         )
30 source=(
31         http://downloads.zend.com/studio_debugger/$pkgver/ZendDebugger-$pkgver-linux-glibc23-$DL_ARCH.tar.gz
32         ${pkgname}.install
33         ZendDebugger.ini
36 build() {
37         cd "$srcdir/ZendDebugger-$pkgver-linux-glibc23-$DL_ARCH"
38         install -D -m 744 5_3_x_comp/ZendDebugger.so "$pkgdir/usr/lib/php/modules/ZendDebugger.so"
39         install -D -m 744 ../ZendDebugger.ini "$pkgdir/etc/php/conf.d/ZendDebugger.ini"