aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-06-25 15:12:46 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-06-25 15:12:46 +0000
commitdccba72c320fb9130d68a468016c9acdb1a6ff52 (patch)
tree85fa2ef1b65c3e30a8c791dec5d3a6db274f2975
parent1ccad7f5152a370d02758e1968d43748020eac91 (diff)
downloadaports-dccba72c320fb9130d68a468016c9acdb1a6ff52.tar.bz2
aports-dccba72c320fb9130d68a468016c9acdb1a6ff52.tar.xz
testing/cleancss: new aport
-rw-r--r--testing/cleancss/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/cleancss/APKBUILD b/testing/cleancss/APKBUILD
new file mode 100644
index 0000000000..5b42ac31e9
--- /dev/null
+++ b/testing/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"