updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / dbg / PKGBUILD
bloba152000b793fc84bc75151c2edcf30e1049cec1e
1 # Contributor: Chris Allison <chris.allison@hotmail.com>
2 pkgname=dbg
3 pkgver=2.15.5
4 pkgrel=2
5 pkgdesc="A full-featured php debugger"
6 arch=('i686')
7 url="http://www.php-debugger.com/dbg/"
8 license=('DBG')
9 depends=('php')
10 install=${pkgname}.install
12 source=(http://downloads.sourceforge.net/sourceforge/dbg2/$pkgname-$pkgver.tar.gz)
13 md5sums=('1183c5d87635adf77b416787e4916965')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   # patch -Np1 -i ../dvbstreamer-1.1-epgtoxmltv-seriesid.patch || return 1
20   ./configure --prefix=/usr/lib/php/20060613 --with-dbg-profiler --with-php-config=/usr/bin/php-config --enable-dbg=shared
21   make || return 1
23   chmod +x "$srcdir/$pkgname-$pkgver/build/shtool"
25   make INSTALL_ROOT="$pkgdir" install
27 # install licence
28   mkdir -p "$pkgdir/usr/share/licenses/common/DBG"
29   cp "$srcdir/$pkgname-$pkgver/COPYING" "$pkgdir/usr/share/licenses/common/DBG/licence.txt"
30   chmod 644 "$pkgdir/usr/share/licenses/common/DBG/licence.txt"
32   # install INSTALL file for user configuration steps
33   mkdir -p "$pkgdir/usr/share/DBG/"
34   cp "$srcdir/$pkgname-$pkgver/INSTALL" "$pkgdir/usr/share/DBG/INSTALL"
35   chmod 644 "$pkgdir/usr/share/DBG/INSTALL"
38 # vim:set ts=2 sw=2 et: