[arch-commits] Commit in browserify/repos/community-any (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Sep 25 17:59:07 UTC 2018
Date: Tuesday, September 25, 2018 @ 17:59:06
Author: felixonmars
Revision: 385046
archrelease: copy trunk to community-any
Added:
browserify/repos/community-any/PKGBUILD
(from rev 385044, browserify/trunk/PKGBUILD)
browserify/repos/community-any/browserify.install
(from rev 385044, browserify/trunk/browserify.install)
Deleted:
browserify/repos/community-any/PKGBUILD
browserify/repos/community-any/browserify.install
--------------------+
PKGBUILD | 61 +++++++++++++++++++++++++--------------------------
browserify.install | 18 +++++++--------
2 files changed, 39 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-25 17:59:04 UTC (rev 385045)
+++ PKGBUILD 2018-09-25 17:59:06 UTC (rev 385046)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=browserify
-pkgdesc='browser-side require() the node way'
-pkgver=16.2.2
-pkgrel=1
-arch=('any')
-url='http://browserify.org/'
-license=('MIT' 'BSD')
-depends=('nodejs' 'acorn')
-makedepends=('npm' 'git')
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-install=browserify.install
-sha512sums=('7cc112d39c2ad4eba4b6cea4b06514d933151c7a74e8bc90b74488c1b5c81e6ef0692ad098d05978fb14d2233fe1ff78cdbbdbff01e66be0f562b7735989c5fc')
-
-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" "$pkgdir/usr/share/licenses/$pkgname/"
-
- # Experimental dedup
- cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
- for dep in acorn; do
- rm -r $dep;
- done
-
- # Fix npm security derp
- find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
-}
Copied: browserify/repos/community-any/PKGBUILD (from rev 385044, browserify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-09-25 17:59:06 UTC (rev 385046)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=browserify
+pkgdesc='browser-side require() the node way'
+pkgver=16.2.3
+pkgrel=1
+arch=('any')
+url='http://browserify.org/'
+license=('MIT' 'BSD')
+depends=('nodejs' 'acorn')
+makedepends=('npm' 'git')
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+install=browserify.install
+sha512sums=('cd0b7f19dd7e5be218fa1ff15f6358316e28ad05a1a92c3257ec6c6e5c9c4eda4eb81dbb8757d9861350ba2a49e2defda21c383f898c7a6d23a7f66421242d8d')
+
+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" "$pkgdir/usr/share/licenses/$pkgname/"
+
+ # Experimental dedup
+ cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
+ for dep in acorn; do
+ rm -r $dep;
+ done
+
+ # Fix npm security derp
+ find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
+}
Deleted: browserify.install
===================================================================
--- browserify.install 2018-09-25 17:59:04 UTC (rev 385045)
+++ browserify.install 2018-09-25 17:59:06 UTC (rev 385046)
@@ -1,9 +0,0 @@
-post_install() {
- # fixup permissions
- chmod 755 /usr/lib/node_modules
- find /usr/lib/node_modules/browserify -type d -exec chmod 755 '{}' +
-}
-
-post_upgrade() {
- post_install
-}
Copied: browserify/repos/community-any/browserify.install (from rev 385044, browserify/trunk/browserify.install)
===================================================================
--- browserify.install (rev 0)
+++ browserify.install 2018-09-25 17:59:06 UTC (rev 385046)
@@ -0,0 +1,9 @@
+post_install() {
+ # fixup permissions
+ chmod 755 /usr/lib/node_modules
+ find /usr/lib/node_modules/browserify -type d -exec chmod 755 '{}' +
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list