diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2014-06-25 16:03:08 +0000 |
---|---|---|
committer | Eivind Uggedal <eivind@uggedal.com> | 2014-06-25 16:03:08 +0000 |
commit | d340da7dbce0642936c9e4b6dc4cb133bd41d72e (patch) | |
tree | ffcdc472651651d5f21112c6952ddb090d8ac65c /main | |
parent | 03263d14d0ee7dc9fc2c5898dcf4a9be54dd9ac2 (diff) | |
download | aports-d340da7dbce0642936c9e4b6dc4cb133bd41d72e.tar.bz2 aports-d340da7dbce0642936c9e4b6dc4cb133bd41d72e.tar.xz |
main/cleancss: moved from testing
Diffstat (limited to 'main')
-rw-r--r-- | main/cleancss/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/main/cleancss/APKBUILD b/main/cleancss/APKBUILD new file mode 100644 index 0000000000..5b42ac31e9 --- /dev/null +++ b/main/cleancss/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Eivind Uggedal <eivind@uggedal.com> +pkgname=cleancss +_pkgname=clean-css +pkgver=2.2.3 +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="6e3a100d3ed437fcb0dfd5e48069ceec clean-css-2.2.3.tgz" +sha256sums="9d0733d7c9ae29c3052ef7940d3b988b59f653b2f8a4a2a338b9135e1fdacac8 clean-css-2.2.3.tgz" +sha512sums="b63983607f62d4d871a515a2888716de8d92c84525c70570626bc8134afd41f2d8d6f8834b008c1c4ce59043c959ceaffc6b4255e9c01ec14d7b2aabfa23b0ea clean-css-2.2.3.tgz" |