# $Id: PKGBUILD 1997 2009-09-07 13:44:23Z spupykin $ # Maintainer: Sergej Pupykin pkgname=roundcubemail pkgver=0.3 pkgrel=1 pkgdesc="A PHP web-based mail client" arch=('any') url="http://www.roundcube.net" license=('GPL') depends=('php') optdepends=('php-fileinfo') backup=('srv/http/roundcube/.htaccess' 'srv/http/roundcube/skins/default/images/roundcube_logo.png') options=(force) source=(http://downloads.sourceforge.net/sourceforge/roundcubemail/roundcubemail-${pkgver}-stable.tar.gz) md5sums=('741bb3dace2e2824c0cbb3e86142be5b') build() { _instdir=${startdir}/pkg/srv/http/roundcube mkdir -p ${_instdir} cd ${_instdir} cp -ra ${startdir}/src/roundcubemail-${pkgver}-stable/* . || return 1 echo "deny from all" > .htaccess }