updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xoops / PKGBUILD
blobefb146142b088b751e19e289e6446f94a6f7ae56
1 # Maintainer: Julio Napurí <julionc@gmail.com>
2 pkgname=xoops
3 pkgver=2.5.1
4 pkgrel=1
5 pkgdesc="A PHP-based content management platform"
6 arch=('any')
7 url='http://www.xoops.org/'
8 license=('GPL')
9 depends=('php' 'apache' 'php-apache' 'mysql')
10 source=("http://downloads.sourceforge.net/project/xoops/XOOPS Core (stable releases)/XOOPS ${pkgver}/xoops-${pkgver}.tar.gz")
11 md5sums=('54ff90bd7afa2950f1981f3cacd2309a')
13 build() {
14   install -dm755 "${pkgdir}/srv/http/xoops" || return 1
15   cp -R ${srcdir}/xoops-${pkgver}/htdocs/* "${pkgdir}/srv/http/xoops"
17   find "${pkgdir}/srv/http/${pkgname}" -type d -exec chmod 755 {} +
18   find "${pkgdir}/srv/http/${pkgname}" -type f -exec chmod 644 {} +