updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / joomla / PKGBUILD
blobfb6b8417203b1901595a2cbe5cd2a811f6ffb828
1 # Maintainer: Dan Serban
2 # Contributors: Henri Häkkinenv, Damian Barberon, Netanel Shine, Simon Schneider
4 pkgname=joomla
5 pkgver=1.x.x.latest
6 pkgrel=1
7 pkgdesc="A PHP-based content management platform"
8 arch=(any)
9 url=http://www.joomla.org/
10 license=(GPL)
11 depends=(apache mysql php php-apache)
12 install=joomla.install
14 package()
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 {} \;