Date: Monday, January 4, 2016 @ 15:37:51 Author: spupykin Revision: 155423
upgpkg: roundcubemail 1.2beta-1 upd Modified: roundcubemail/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-01-04 14:29:00 UTC (rev 155422) +++ PKGBUILD 2016-01-04 14:37:51 UTC (rev 155423) @@ -2,8 +2,8 @@ # Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> pkgname=roundcubemail -pkgver=1.1.3 -pkgrel=2 +pkgver=1.2beta +pkgrel=1 pkgdesc="A PHP web-based mail client" arch=('any') url="http://www.roundcube.net" @@ -14,13 +14,14 @@ 'etc/webapps/roundcubemail/apache.conf') install=roundcubemail.install options=('!strip' 'emptydirs') -source=(http://downloads.sourceforge.net/sourceforge/roundcubemail/roundcubemail-${pkgver/rc/-rc}-complete.tar.gz +#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 apache.conf) -md5sums=('b607296dd6ddfb35f00c2ce3d7a08b6d' +md5sums=('855011200946e253ab491125b60c0576' 'f11b17e2a80b383cde4af963fb307541') prepare() { - cd ${srcdir}/roundcubemail-${pkgver/rc/-rc} + cd ${srcdir}/roundcubemail-${pkgver/beta/-beta} sed -i \ -e "s|RCUBE_INSTALL_PATH . 'temp.*|'/var/cache/roundcubemail';|" \ -e "s|RCUBE_INSTALL_PATH . 'logs.*|'/var/log/roundcubemail';|" \ @@ -33,7 +34,7 @@ mkdir -p ${pkgdir}/usr/share/webapps mkdir -p ${pkgdir}/var/log cd ${pkgdir}/usr/share/webapps - cp -ra ${srcdir}/roundcubemail-${pkgver/rc/-rc} roundcubemail + cp -ra ${srcdir}/roundcubemail-${pkgver/beta/-beta} roundcubemail cd roundcubemail mv .htaccess $pkgdir/etc/webapps/roundcubemail/