[arch-commits] Commit in grunt-cli/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Oct 25 06:40:59 UTC 2016
Date: Tuesday, October 25, 2016 @ 06:40:59
Author: felixonmars
Revision: 193251
archrelease: copy trunk to community-any
Added:
grunt-cli/repos/community-any/PKGBUILD
(from rev 193250, grunt-cli/trunk/PKGBUILD)
Deleted:
grunt-cli/repos/community-any/PKGBUILD
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++++--------------------------
1 file changed, 28 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-25 06:40:41 UTC (rev 193250)
+++ PKGBUILD 2016-10-25 06:40:59 UTC (rev 193251)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Mario Finelli <mario dot finelli at yahoo dot com>
-# Contributor: Andy Weidenbaum <archbaum at gmail dot com>
-# Contributor: Peter Wu <lekensteyn at gmail dot com>
-
-_npmname=grunt-cli
-pkgname=nodejs-$_npmname
-pkgver=1.2.0
-pkgrel=1
-pkgdesc="The grunt command line interface."
-arch=('any')
-url="http://gruntjs.com/"
-license=('MIT')
-depends=('nodejs')
-makedepends=('npm')
-source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
-noextract=($_npmname-$pkgver.tgz)
-sha256sums=('fdb1d4bd83435b3f70614b608e0027a0d75ebfda151396bb99c46405334a01d8')
-
-package() {
- npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$_npmname-$pkgver.tgz
- rm -r "$pkgdir"/usr/etc
- mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
- ln -s "../../../lib/node_modules/$_npmname/LICENSE-MIT" "$pkgdir/usr/share/licenses/$pkgname/"
-}
Copied: grunt-cli/repos/community-any/PKGBUILD (from rev 193250, grunt-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-25 06:40:59 UTC (rev 193251)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Mario Finelli <mario dot finelli at yahoo dot com>
+# Contributor: Andy Weidenbaum <archbaum at gmail dot com>
+# Contributor: Peter Wu <lekensteyn at gmail dot com>
+
+pkgname=grunt-cli
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="The grunt command line interface."
+arch=('any')
+url="http://gruntjs.com/"
+license=('MIT')
+depends=('nodejs')
+makedepends=('npm')
+provides=('nodejs-grunt-cli')
+conflicts=('nodejs-grunt-cli')
+replaces=('nodejs-grunt-cli')
+source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
+noextract=($pkgname-$pkgver.tgz)
+sha256sums=('fdb1d4bd83435b3f70614b608e0027a0d75ebfda151396bb99c46405334a01d8')
+
+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-MIT" "$pkgdir/usr/share/licenses/$pkgname/"
+}
More information about the arch-commits
mailing list