Initial upload: nodejs-csso 3.0.0-1
This commit is contained in:
parent
085093982c
commit
595fde60e9
2 changed files with 35 additions and 0 deletions
16
nodejs-csso-cli/.SRCINFO
Normal file
16
nodejs-csso-cli/.SRCINFO
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
pkgbase = nodejs-csso
|
||||||
|
pkgdesc = CSS minifier with structural optimisations
|
||||||
|
pkgver = 3.0.0
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/css/csso-cli
|
||||||
|
arch = any
|
||||||
|
license = MIT
|
||||||
|
makedepends = npm
|
||||||
|
makedepends = nodejs-csso
|
||||||
|
depends = nodejs
|
||||||
|
depends = nodejs-csso
|
||||||
|
source = https://registry.npmjs.org/csso-cli/-/csso-cli-3.0.0.tgz
|
||||||
|
sha256sums = dc4a516ef7184a5b3c26daef0f90b2c0ea9e280119fcc97b4ce925e34ff21adc
|
||||||
|
|
||||||
|
pkgname = nodejs-csso
|
||||||
|
|
19
nodejs-csso-cli/PKGBUILD
Normal file
19
nodejs-csso-cli/PKGBUILD
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
|
||||||
|
|
||||||
|
pkgname=nodejs-csso
|
||||||
|
pkgver=3.0.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="CSS minifier with structural optimisations"
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/css/csso-cli"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('nodejs' 'nodejs-csso')
|
||||||
|
makedepends=('npm' 'nodejs-csso')
|
||||||
|
source=("https://registry.npmjs.org/csso-cli/-/csso-cli-$pkgver.tgz")
|
||||||
|
sha256sums=('dc4a516ef7184a5b3c26daef0f90b2c0ea9e280119fcc97b4ce925e34ff21adc')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/csso-cli-$pkgver.tgz
|
||||||
|
chmod -R go-w "$pkgdir"/usr
|
||||||
|
chown -R root:root "$pkgdir"/usr
|
||||||
|
}
|
Loading…
Reference in a new issue