PKGBUILDs/community/jabwebhist/PKGBUILD

38 lines
803 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=jabwebhist
pkgver=200801
pkgrel=2
pkgdesc="jabber message history (XEP-0136) browser"
arch=('i686' 'x86_64')
url="http://bepointbe.be/jabwebhist/"
license=('GPL')
depends=(php)
source=(http://bepointbe.be/files/jabwebhist-$pkgver.tar.gz)
md5sums=('488737c58b4f1b5d5f34f5883a7571b7')
build() {
cd $srcdir/jabwebhist
patch -p1 index.php <<EOF
diff -r jabwebhist.org/index.php jabwebhist/index.php
35c35
< <?
---
> <?php
EOF
patch -p1 prefs.php <<EOF
diff -r jabwebhist.org/prefs.php jabwebhist/prefs.php
35c35
< <?
---
> <?php
EOF
install -d -m0755 $pkgdir/srv/http/jabwebhist && \
cp *.php $pkgdir/srv/http/jabwebhist
}