Date: Thursday, August 16, 2018 @ 06:08:01 Author: felixonmars Revision: 371903
archrelease: copy trunk to community-any Added: grunt-cli/repos/community-any/PKGBUILD (from rev 371902, grunt-cli/trunk/PKGBUILD) grunt-cli/repos/community-any/grunt-cli.install (from rev 371902, grunt-cli/trunk/grunt-cli.install) Deleted: grunt-cli/repos/community-any/PKGBUILD grunt-cli/repos/community-any/grunt-cli.install -------------------+ PKGBUILD | 57 +++++++++++++++++++++++++--------------------------- grunt-cli.install | 20 +++++++++--------- 2 files changed, 38 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-08-16 06:07:24 UTC (rev 371902) +++ PKGBUILD 2018-08-16 06:08:01 UTC (rev 371903) @@ -1,29 +0,0 @@ -# $Id: PKGBUILD 193388 2016-10-26 01:31:52Z anthraxx $ -# Maintainer: Felix Yan <felixonm...@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=3 -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') -install=${pkgname}.install -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/" -} Copied: grunt-cli/repos/community-any/PKGBUILD (from rev 371902, grunt-cli/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-08-16 06:08:01 UTC (rev 371903) @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@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.3.0 +pkgrel=1 +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') +install=${pkgname}.install +source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz") +noextract=($pkgname-$pkgver.tgz) +sha512sums=('5cf4f2f1c7d26c8adfd86b745838e7dc4cd6ff19ba9fb467157d24a22e53f3bc4d048cc96dc33c0457fead385e2873be0bb02603fc3c3d6082106ba6836c96b4') + +package() { + npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" + ln -s "../../../lib/node_modules/$pkgname/LICENSE-MIT" "$pkgdir/usr/share/licenses/$pkgname/" +} Deleted: grunt-cli.install =================================================================== --- grunt-cli.install 2018-08-16 06:07:24 UTC (rev 371902) +++ grunt-cli.install 2018-08-16 06:08:01 UTC (rev 371903) @@ -1,10 +0,0 @@ -post_install() { - # fixup permissions - chmod 755 /usr/lib/node_modules \ - /usr/lib/node_modules/grunt-cli/node_modules \ - /usr/lib/node_modules/grunt-cli/node_modules/.bin -} - -post_upgrade() { - post_install -} Copied: grunt-cli/repos/community-any/grunt-cli.install (from rev 371902, grunt-cli/trunk/grunt-cli.install) =================================================================== --- grunt-cli.install (rev 0) +++ grunt-cli.install 2018-08-16 06:08:01 UTC (rev 371903) @@ -0,0 +1,10 @@ +post_install() { + # fixup permissions + chmod 755 /usr/lib/node_modules \ + /usr/lib/node_modules/grunt-cli/node_modules \ + /usr/lib/node_modules/grunt-cli/node_modules/.bin +} + +post_upgrade() { + post_install +}