[arch-commits] Commit in grunt-cli/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Aug 16 09:27:41 UTC 2018
Date: Thursday, August 16, 2018 @ 09:27:40
Author: felixonmars
Revision: 371914
upgpkg: grunt-cli 1.3.0-2
fix permissions
Modified:
grunt-cli/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-16 09:26:29 UTC (rev 371913)
+++ PKGBUILD 2018-08-16 09:27:40 UTC (rev 371914)
@@ -6,7 +6,7 @@
pkgname=grunt-cli
pkgver=1.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="The grunt command line interface."
arch=('any')
url="http://gruntjs.com/"
@@ -23,6 +23,10 @@
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/"
}
More information about the arch-commits
mailing list