updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / jabwebhist / PKGBUILD
blob9952bb5ff43d69d710b9788c7ffb2129f4229fbb
1 # $Id: PKGBUILD 59239 2011-11-21 15:32:18Z spupykin $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
5 pkgname=jabwebhist
6 pkgver=200801
7 pkgrel=3
8 pkgdesc="jabber message history (XEP-0136) browser"
9 arch=('any')
10 url="http://bepointbe.be/jabwebhist/"
11 license=('GPL')
12 depends=(php)
13 #source=(http://bepointbe.be/files/jabwebhist-$pkgver.tar.gz)
14 source=(http://arch.p5n.pp.ru/~sergej/dl/2011/jabwebhist-$pkgver.tar.gz)
15 md5sums=('488737c58b4f1b5d5f34f5883a7571b7')
17 build() {
18   cd $srcdir/jabwebhist
20   patch -p1 index.php <<EOF
21 diff -r jabwebhist.org/index.php jabwebhist/index.php
22 35c35
23 < <?
24 ---
25 > <?php
26 EOF
28   patch -p1 prefs.php <<EOF
29 diff -r jabwebhist.org/prefs.php jabwebhist/prefs.php
30 35c35
31 < <?
32 ---
33 > <?php
34 EOF
36   install -d -m0755 $pkgdir/srv/http/jabwebhist
37   cp *.php $pkgdir/srv/http/jabwebhist