Date: Thursday, August 16, 2018 @ 09:28:09 Author: felixonmars Revision: 371915
archrelease: copy trunk to community-any Added: grunt-cli/repos/community-any/PKGBUILD (from rev 371914, grunt-cli/trunk/PKGBUILD) grunt-cli/repos/community-any/grunt-cli.install (from rev 371914, grunt-cli/trunk/grunt-cli.install) Deleted: grunt-cli/repos/community-any/PKGBUILD grunt-cli/repos/community-any/grunt-cli.install -------------------+ PKGBUILD | 60 +++++++++++++++++++++++++++------------------------- grunt-cli.install | 20 ++++++++--------- 2 files changed, 42 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-08-16 09:27:40 UTC (rev 371914) +++ PKGBUILD 2018-08-16 09:28:09 UTC (rev 371915) @@ -1,28 +0,0 @@ -# $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/" -} Copied: grunt-cli/repos/community-any/PKGBUILD (from rev 371914, grunt-cli/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-08-16 09:28:09 UTC (rev 371915) @@ -0,0 +1,32 @@ +# $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=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') +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 + + # Why 777? :/ + chmod -R u=rwX,go=rX "$pkgdir" + + 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 09:27:40 UTC (rev 371914) +++ grunt-cli.install 2018-08-16 09:28:09 UTC (rev 371915) @@ -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 371914, grunt-cli/trunk/grunt-cli.install) =================================================================== --- grunt-cli.install (rev 0) +++ grunt-cli.install 2018-08-16 09:28:09 UTC (rev 371915) @@ -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 +}