[arch-commits] Commit in (stylus stylus/repos stylus/trunk stylus/trunk/PKGBUILD)

Felix Yan fyan at archlinux.org
Fri Oct 23 03:18:44 UTC 2015


    Date: Friday, October 23, 2015 @ 05:18:44
  Author: fyan
Revision: 144763

addpkg: stylus 0.52.4-1

Added:
  stylus/
  stylus/repos/
  stylus/trunk/
  stylus/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Added: stylus/trunk/PKGBUILD
===================================================================
--- stylus/trunk/PKGBUILD	                        (rev 0)
+++ stylus/trunk/PKGBUILD	2015-10-23 03:18:44 UTC (rev 144763)
@@ -0,0 +1,22 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=stylus
+pkgdesc='Robust, expressive, and feature-rich CSS superset'
+pkgver=0.52.4
+pkgrel=1
+arch=('any')
+url='https://github.com/stylus/stylus'
+license=('MIT')
+depends=('nodejs')
+makedepends=('npm' 'git')
+source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha256sums=('5735ac9ff8a6943643ea4d044e2cff6016b43639154fd64f07cb7d1e5c681416')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+  rm -r "$pkgdir"/usr/etc
+  mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
+  ln -s "../../../lib/node_modules/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
+}


Property changes on: stylus/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list