updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / phpbb3-lang-it / PKGBUILD
blob55ffb8c46e854598eb284c3e71938aefe356fe29
2 # Mantainer: Berseker <berseker86@gmail.com>
4 _lang=it
6 pkgname=phpbb3-lang-${_lang}
7 pkgver=3.0.8
8 pkgrel=1
9 pkgdesc="A high powered, fully scalable, and highly customisable open-source bbs package. Italian Language Pack"
10 arch=('i686' 'x86_64')
11 url="http://www.phpbb.com"
12 license=('GPL')
13 depends=('php' 'mysql' 'phpbb3='${pkgver})
14 backup=(srv/http/phpBB3/.htaccess \
15         srv/http/phpBB3/config.php)
16 source=(http://www.phpbb.com/files/language_packs_30x/lang_${_lang}.tar.gz)
18 build() {
19   #
20   # ###
21   local _wwwroot=`grep ^DocumentRoot /etc/httpd/conf/httpd.conf | sed 's|DocumentRoot ||' | sed 's|"||g'`
22   if [ -z $_wwwroot ] ; then
23     _wwwroot="/srv/http"
24   fi
25   # ###
26   #
28   instdir=$startdir/pkg$_wwwroot/phpBB3/language/${_lang}
29   mkdir -p $instdir
30   cd $instdir
31   cp -ra ${srcdir}/${_lang}/* .
33 md5sums=('f0b515da6fb08e7366e8081a22dbfd35')