blob: c1753477f7b6da645a27109f7698899e66e93212 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=cleancss
_pkgname=clean-css
pkgver=2.2.12
pkgrel=0
pkgdesc="Well-tested CSS minifier"
url="https://github.com/GoalSmashers/clean-css"
arch="noarch"
license="MIT"
depends="nodejs nodejs-commander"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="https://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz"
_builddir="$srcdir/package"
_moduledir=usr/lib/node_modules/$_pkgname
package() {
cd "$_builddir"
mkdir -p "$pkgdir"/$_moduledir
cp -pr package.json bin lib index.js "$pkgdir"/$_moduledir
mkdir -p "$pkgdir"/usr/bin
ln -s ../../$_moduledir/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
}
md5sums="f8e14e67775b7fd8033ab2b9b49ab622 clean-css-2.2.12.tgz"
sha256sums="7f5a21040c0196505f0e75a48eee5538bf316619fb90906fddab0fc2e296617d clean-css-2.2.12.tgz"
sha512sums="f9174cc251e6090481795e8c91585b8e27791cf17d6114aaecc8b81816b80a1f37f142b2b2414ed4d027b23e179135cecf68b0450df76c417d0da00740ea8af3 clean-css-2.2.12.tgz"
|