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