[arch-commits] Commit in jake/trunk (PKGBUILD jake.install)

Levente Polyak anthraxx at archlinux.org
Wed Oct 26 01:34:09 UTC 2016


    Date: Wednesday, October 26, 2016 @ 01:34:07
  Author: anthraxx
Revision: 193390

8.0.15-2 directory permission fix

Added:
  jake/trunk/jake.install
Modified:
  jake/trunk/PKGBUILD

--------------+
 PKGBUILD     |    3 ++-
 jake.install |   11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-26 01:31:59 UTC (rev 193389)
+++ PKGBUILD	2016-10-26 01:34:07 UTC (rev 193390)
@@ -3,7 +3,7 @@
 
 pkgname=jake
 pkgver=8.0.15
-pkgrel=1
+pkgrel=2
 pkgdesc="JavaScript build tool, similar to Make or Rake"
 arch=('any')
 url="http://jakejs.com"
@@ -10,6 +10,7 @@
 license=('Apache')
 depends=('nodejs')
 makedepends=('npm')
+install=${pkgname}.install
 source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
 noextract=($pkgname-$pkgver.tgz)
 md5sums=('d20043b13d82ad0502571fbde8921bec')

Added: jake.install
===================================================================
--- jake.install	                        (rev 0)
+++ jake.install	2016-10-26 01:34:07 UTC (rev 193390)
@@ -0,0 +1,11 @@
+post_install() {
+  # fixup permissions
+  chmod 755 /usr/lib/node_modules \
+    /usr/lib/node_modules/jake/node_modules \
+    /usr/lib/node_modules/jake/node_modules/.bin \
+    /usr/lib/node_modules/jake/node_modules/filelist/node_modules
+}
+
+post_upgrade() {
+  post_install
+}



More information about the arch-commits mailing list