From 1c0368afc7bc1e14c0aad41feaba59bc4ef2422d Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Mon, 12 Oct 2020 12:08:39 +0200 Subject: [PATCH] upgpkg: roundcubemail-git 1.4.rc2.r582.g3fd6588be-1 minify css according to updated upstream doc --- roundcubemail-git/.SRCINFO | 4 ++-- roundcubemail-git/PKGBUILD | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/roundcubemail-git/.SRCINFO b/roundcubemail-git/.SRCINFO index ac642d2..96c2665 100644 --- a/roundcubemail-git/.SRCINFO +++ b/roundcubemail-git/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = roundcubemail-git pkgdesc = A PHP web-based mail client - pkgver = 1.4.rc1.r37.gc7677a572 + pkgver = 1.4.rc2.r582.g3fd6588be pkgrel = 1 url = https://roundcube.net/ arch = any @@ -9,7 +9,7 @@ pkgbase = roundcubemail-git makedepends = git makedepends = unzip makedepends = java-runtime - makedepends = nodejs-less + makedepends = nodejs-less-plugin-clean-css depends = php depends = php-gd optdepends = python2 diff --git a/roundcubemail-git/PKGBUILD b/roundcubemail-git/PKGBUILD index 1d25e2f..ce4ba9d 100644 --- a/roundcubemail-git/PKGBUILD +++ b/roundcubemail-git/PKGBUILD @@ -2,14 +2,14 @@ # Contributor: Sergej Pupykin pkgname=roundcubemail-git -pkgver=1.4.rc1.r37.gc7677a572 +pkgver=1.4.rc2.r582.g3fd6588be pkgrel=1 pkgdesc="A PHP web-based mail client" arch=('any') url="https://roundcube.net/" license=('GPL') depends=('php' 'php-gd') -makedepends=('php-composer' 'git' 'unzip' 'java-runtime' 'nodejs-less') +makedepends=('php-composer' 'git' 'unzip' 'java-runtime' 'nodejs-less-plugin-clean-css') optdepends=('python2') provides=('roundcubemail') conflicts=('roundcubemail') @@ -46,9 +46,10 @@ build(){ bin/jsshrink.sh cd skins/elastic - lessc -x styles/styles.less > styles/styles.css - lessc -x styles/print.less > styles/print.css - lessc -x styles/embed.less > styles/embed.css + lessc --clean-css="--s1 --advanced" styles/styles.less > styles/styles.min.css + lessc --clean-css="--s1 --advanced" styles/print.less > styles/print.min.css + lessc --clean-css="--s1 --advanced" styles/embed.less > styles/embed.min.css + cd ../.. bin/updatecss.sh