Bump to 4.1.9
This commit is contained in:
parent
e60d5f17b6
commit
c81a16ec52
2 changed files with 20 additions and 14 deletions
10
.SRCINFO
10
.SRCINFO
|
@ -1,15 +1,15 @@
|
||||||
pkgbase = nodejs-clean-css
|
pkgbase = nodejs-clean-css
|
||||||
pkgdesc = A fast, efficient, and well tested CSS minifier for node.js.
|
pkgdesc = A fast, efficient, and well tested CSS minifier for node.js.
|
||||||
pkgver = 3.3.9
|
pkgver = 4.1.9
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/jakubpawlowicz/clean-css
|
url = https://github.com/jakubpawlowicz/clean-css
|
||||||
arch = any
|
arch = any
|
||||||
license = MIT
|
license = MIT
|
||||||
|
makedepends = npm
|
||||||
depends = nodejs
|
depends = nodejs
|
||||||
depends = npm
|
noextract = clean-css-4.1.9.tgz
|
||||||
noextract = clean-css-3.3.9.tgz
|
source = https://registry.npmjs.org/clean-css/-/clean-css-4.1.9.tgz
|
||||||
source = https://registry.npmjs.org/clean-css/-/clean-css-3.3.9.tgz
|
sha256sums = a474469c4af681b798f5e9a6e97c1309a3124ad333e4e6f562ab8b3f8f19e04d
|
||||||
sha256sums = d0351fd10618317d2117cce9d1e1dab7600426ed6f163b45039f0ad592f3588f
|
|
||||||
|
|
||||||
pkgname = nodejs-clean-css
|
pkgname = nodejs-clean-css
|
||||||
|
|
||||||
|
|
24
PKGBUILD
24
PKGBUILD
|
@ -1,22 +1,28 @@
|
||||||
# Maintainer: Mario Finelli <mario dot finelli at yahoo dot com>
|
# Maintainer: Mario Finelli <mario at finel dot li>
|
||||||
|
|
||||||
_npmname=clean-css
|
_npmname=clean-css
|
||||||
pkgname=nodejs-$_npmname
|
pkgname=nodejs-$_npmname
|
||||||
pkgver=3.3.9
|
pkgver=4.1.9
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A fast, efficient, and well tested CSS minifier for node.js."
|
pkgdesc="A fast, efficient, and well tested CSS minifier for node.js."
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/jakubpawlowicz/clean-css"
|
url="https://github.com/jakubpawlowicz/clean-css"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=('nodejs' 'npm')
|
depends=('nodejs')
|
||||||
|
makedepends=('npm')
|
||||||
source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
|
source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
|
||||||
noextract=($_npmname-$pkgver.tgz)
|
noextract=($_npmname-$pkgver.tgz)
|
||||||
sha256sums=('d0351fd10618317d2117cce9d1e1dab7600426ed6f163b45039f0ad592f3588f')
|
sha256sums=('a474469c4af681b798f5e9a6e97c1309a3124ad333e4e6f562ab8b3f8f19e04d')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir"
|
npm install \
|
||||||
local _npmdir="$pkgdir/usr/lib/node_modules/"
|
--user root --global \
|
||||||
mkdir -p "$_npmdir"
|
--prefix "$pkgdir/usr" \
|
||||||
cd "$_npmdir"
|
"$srcdir"/$_npmname-$pkgver.tgz
|
||||||
npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver
|
|
||||||
|
rm -r "$pkgdir"/usr/etc
|
||||||
|
find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
|
||||||
|
|
||||||
|
install -Dm0644 "$pkgdir/usr/lib/node_modules/$_npmname/LICENSE" \
|
||||||
|
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue