[arch-commits] Commit in jake/repos/community-any (PKGBUILD PKGBUILD jake.install)

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


    Date: Wednesday, October 26, 2016 @ 01:34:22
  Author: anthraxx
Revision: 193391

archrelease: copy trunk to community-any

Added:
  jake/repos/community-any/PKGBUILD
    (from rev 193390, jake/trunk/PKGBUILD)
  jake/repos/community-any/jake.install
    (from rev 193390, jake/trunk/jake.install)
Deleted:
  jake/repos/community-any/PKGBUILD

--------------+
 PKGBUILD     |   41 +++++++++++++++++++++--------------------
 jake.install |   11 +++++++++++
 2 files changed, 32 insertions(+), 20 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-26 01:34:07 UTC (rev 193390)
+++ PKGBUILD	2016-10-26 01:34:22 UTC (rev 193391)
@@ -1,20 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=jake
-pkgver=8.0.15
-pkgrel=1
-pkgdesc="JavaScript build tool, similar to Make or Rake"
-arch=('any')
-url="http://jakejs.com"
-license=('Apache')
-depends=('nodejs')
-makedepends=('npm')
-source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
-noextract=($pkgname-$pkgver.tgz)
-md5sums=('d20043b13d82ad0502571fbde8921bec')
-
-package() {
-  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
-  rm -r "$pkgdir"/usr/etc
-}

Copied: jake/repos/community-any/PKGBUILD (from rev 193390, jake/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-26 01:34:22 UTC (rev 193391)
@@ -0,0 +1,21 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=jake
+pkgver=8.0.15
+pkgrel=2
+pkgdesc="JavaScript build tool, similar to Make or Rake"
+arch=('any')
+url="http://jakejs.com"
+license=('Apache')
+depends=('nodejs')
+makedepends=('npm')
+install=${pkgname}.install
+source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
+noextract=($pkgname-$pkgver.tgz)
+md5sums=('d20043b13d82ad0502571fbde8921bec')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+  rm -r "$pkgdir"/usr/etc
+}

Copied: jake/repos/community-any/jake.install (from rev 193390, jake/trunk/jake.install)
===================================================================
--- jake.install	                        (rev 0)
+++ jake.install	2016-10-26 01:34:22 UTC (rev 193391)
@@ -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