updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / joomla-es / PKGBUILD
blob805a7e35738876f7043a41ff16f5fbcd9ef61893
1  
2 pkgname=joomla-es
3 pkgver=1.6.0
4 pkgrel=1
5 pkgdesc="Sistema de Administracion de Contenidos"
6 arch=('i686' 'x86_64')
7 url="http://www.joomlaspanish.org/"
8 license=('GPL')
9 depends=('php>=5.2' 'mysql>=5.0.x' 'apache>=2.x')
10 provides=('joomla')
11 install=${pkgname}.install
12 source=(http://joomlacode.org/gf/download/frsrelease/13915/60349/Joomla_$pkgver-Spanish-Pack_Completo.zip)
13 md5sums=('08e2fc95101cf53e34071c72ad33fec2')
15 build() {
16 # Install Joomla files to the package directory.
17 install -dm755 "$pkgdir/srv/http/joomla" || return 1
18 cp -r "$srcdir"/* "$pkgdir/srv/http/joomla" || return 1
20 # Remove the symlink which points to the Joomla tarball itself.
21 rm -f "$pkgdir/srv/http/joomla/Joomla_$pkgver-Spanish-pack_completo.zip" || return 1
23 # Remove unnecessary execute permissions.
24 find "$pkgdir/srv/http/joomla" -type f -exec chmod a-x {} \; || return 1
25