1 # Maintainer: Dan Serban
2 # Contributors: Henri Häkkinenv, Damian Barberon, Netanel Shine, Simon Schneider
7 pkgdesc="A PHP-based content management platform"
9 url=http://www.joomla.org/
11 depends=(apache mysql php php-apache)
12 install=joomla.install
16 rm joomla.zip 2>/dev/null || true
17 _url=$(wget -qO - http://www.joomla.org/download.html | grep -o http://joomlacode.org/gf/download/frsrelease/.*/Joomla_.....-Stable-Full_Package.zip)
18 wget -O joomla.zip "${_url}"
19 mkdir -p "${pkgdir}"/srv/http/joomla
20 bsdtar -xf joomla.zip -C "${pkgdir}"/srv/http/joomla
21 find "${pkgdir}"/srv/http/joomla -type f -exec chmod 0664 {} \;
22 find "${pkgdir}"/srv/http/joomla -type d -exec chmod 0775 {} \;