upgpkg: roundcubemail-git 1.4.rc2.r582.g3fd6588be-1

minify css according to updated upstream doc
This commit is contained in:
Cedric Girard 2020-10-12 12:08:39 +02:00
parent 3a3940a2d4
commit 1c0368afc7
Signed by: X-dark
GPG Key ID: E7D0E125DB9519E4
2 changed files with 8 additions and 7 deletions

View File

@ -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

View File

@ -2,14 +2,14 @@
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
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