updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / phpbb3 / PKGBUILD
blobead0bb2416a8b0db2a3bc2223749b59d5f6d4a21
1 # Old Maintainer: Oleg Ababilov <admin@it-std.ru>
2 # Actual Mantainer: Berseker <berseker86@gmail.com>
4 pkgname=phpbb3
5 pkgver=3.0.9
6 _realver=3.0.9
7 pkgrel=1
8 pkgdesc="A high powered, fully scalable, and highly customisable open-source bbs package."
9 arch=("i686" "x86_64")
10 url="http://www.phpbb.com"
11 license=('GPL')
12 depends=('php' 'mysql')
13 backup=(srv/http/phpBB3/.htaccess \
14         srv/http/phpBB3/config.php)
15 source=(http://www.phpbb.com/files/release/phpBB-${_realver}.tar.bz2)
17 build() {
18   #
19   # ###
20   local _wwwroot=`grep ^DocumentRoot /etc/httpd/conf/httpd.conf | sed 's|DocumentRoot ||' | sed 's|"||g'`
21   if [ -z $_wwwroot ] ; then
22     _wwwroot="/srv/http"
23   fi
24   # ###
25   #
27   instdir=$startdir/pkg$_wwwroot/phpBB3
28   mkdir -p $instdir
29   cd $instdir
30   cp -ra $startdir/src/phpBB3/* .
32 md5sums=('1baa799b0d10b0df794a5a408ff80e59')