Date: Wednesday, February 3, 2016 @ 12:00:58 Author: spupykin Revision: 160065
upgpkg: roundcubemail 1.2beta-3 upd Modified: roundcubemail/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-02-03 10:41:16 UTC (rev 160064) +++ PKGBUILD 2016-02-03 11:00:58 UTC (rev 160065) @@ -3,25 +3,26 @@ pkgname=roundcubemail pkgver=1.2beta -pkgrel=2 +_commit=332ffef199745f1ddb3f3ad3e5618a4675b929bb +pkgrel=3 pkgdesc="A PHP web-based mail client" arch=('any') url="http://www.roundcube.net" license=('GPL') depends=('php') +makedepends=('php-composer' 'git') optdepends=('python2') backup=('etc/webapps/roundcubemail/.htaccess' 'etc/webapps/roundcubemail/apache.conf') install=roundcubemail.install options=('!strip' 'emptydirs') -#source=(https://downloads.sourceforge.net/sourceforge/roundcubemail/roundcubemail-${pkgver/rc/-rc}-complete.tar.gz -#source=(https://downloads.sourceforge.net/project/roundcubemail/roundcubemail-beta/${pkgver/beta/-beta}/roundcubemail-${pkgver/beta/-beta}-complete.tar.gz -source=("$pkgname-$pkgver.tar.gz::https://github.com/roundcube/roundcubemail/archive/55a02bcf56f05697786e20c4659ab279d4df4e05.tar.gz" +source=("$pkgname-$pkgver-${_commit}.tar.gz::https://github.com/roundcube/roundcubemail/archive/${_commit}.tar.gz" apache.conf) -md5sums=('63f4558ea7776c669f9db00d487e637a' +md5sums=('391339848be6432a976e0af60989c298' 'f11b17e2a80b383cde4af963fb307541') prepare() { + mv ${srcdir}/roundcubemail-${_commit} ${srcdir}/roundcubemail-${pkgver/beta/-beta} cd ${srcdir}/roundcubemail-${pkgver/beta/-beta} sed -i \ -e "s|RCUBE_INSTALL_PATH . 'temp.*|'/var/cache/roundcubemail';|" \ @@ -28,6 +29,8 @@ -e "s|RCUBE_INSTALL_PATH . 'logs.*|'/var/log/roundcubemail';|" \ config/defaults.inc.php \ program/lib/Roundcube/rcube_config.php + mv composer.json-dist composer.json + composer install --no-dev } package() {