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 pkgbase = roundcubemail-git
pkgdesc = A PHP web-based mail client pkgdesc = A PHP web-based mail client
pkgver = 1.4.rc1.r37.gc7677a572 pkgver = 1.4.rc2.r582.g3fd6588be
pkgrel = 1 pkgrel = 1
url = https://roundcube.net/ url = https://roundcube.net/
arch = any arch = any
@ -9,7 +9,7 @@ pkgbase = roundcubemail-git
makedepends = git makedepends = git
makedepends = unzip makedepends = unzip
makedepends = java-runtime makedepends = java-runtime
makedepends = nodejs-less makedepends = nodejs-less-plugin-clean-css
depends = php depends = php
depends = php-gd depends = php-gd
optdepends = python2 optdepends = python2

View file

@ -2,14 +2,14 @@
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=roundcubemail-git pkgname=roundcubemail-git
pkgver=1.4.rc1.r37.gc7677a572 pkgver=1.4.rc2.r582.g3fd6588be
pkgrel=1 pkgrel=1
pkgdesc="A PHP web-based mail client" pkgdesc="A PHP web-based mail client"
arch=('any') arch=('any')
url="https://roundcube.net/" url="https://roundcube.net/"
license=('GPL') license=('GPL')
depends=('php' 'php-gd') 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') optdepends=('python2')
provides=('roundcubemail') provides=('roundcubemail')
conflicts=('roundcubemail') conflicts=('roundcubemail')
@ -46,9 +46,10 @@ build(){
bin/jsshrink.sh bin/jsshrink.sh
cd skins/elastic cd skins/elastic
lessc -x styles/styles.less > styles/styles.css lessc --clean-css="--s1 --advanced" styles/styles.less > styles/styles.min.css
lessc -x styles/print.less > styles/print.css lessc --clean-css="--s1 --advanced" styles/print.less > styles/print.min.css
lessc -x styles/embed.less > styles/embed.css lessc --clean-css="--s1 --advanced" styles/embed.less > styles/embed.min.css
cd ../.. cd ../..
bin/updatecss.sh bin/updatecss.sh