[arch-commits] Commit in browserify/repos/community-any (4 files)
Felix Yan
felixonmars at archlinux.org
Mon Mar 30 15:06:04 UTC 2020
Date: Monday, March 30, 2020 @ 15:06:03
Author: felixonmars
Revision: 607009
archrelease: copy trunk to community-any
Added:
browserify/repos/community-any/PKGBUILD
(from rev 607008, browserify/trunk/PKGBUILD)
browserify/repos/community-any/browserify.install
(from rev 607008, browserify/trunk/browserify.install)
Deleted:
browserify/repos/community-any/PKGBUILD
browserify/repos/community-any/browserify.install
--------------------+
PKGBUILD | 70 +++++++++++++++++++++++++--------------------------
browserify.install | 18 ++++++-------
2 files changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-30 15:05:43 UTC (rev 607008)
+++ PKGBUILD 2020-03-30 15:06:03 UTC (rev 607009)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=browserify
-pkgdesc='browser-side require() the node way'
-pkgver=16.5.0
-pkgrel=2
-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=('e9b7c8ddc97be982c09c267be401aefd73ceb2a52147273417fa2518825e0b1b5fc45d87bcf2847268d4f4cf2800fc65e2e058d54ecdaf2df743a9285777f68b')
-
-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
-
- # Non-deterministic race in npm gives 777 permissions to random directories.
- # See https://github.com/npm/npm/issues/9359 for details.
- chmod -R u=rwX,go=rX "$pkgdir"
-
- # npm installs package.json owned by build user
- # https://bugs.archlinux.org/task/63396
- chown -R root:root "$pkgdir"
-}
Copied: browserify/repos/community-any/PKGBUILD (from rev 607008, browserify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-30 15:06:03 UTC (rev 607009)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=browserify
+pkgdesc='browser-side require() the node way'
+pkgver=16.5.1
+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=('1105f4879f4fa7ed06b5245be6b2fa3937ebb6d973bfebb26945652ba197df0d75490d2328f2b28c2ff9e1184f47689bd8a99f7042ccd3a7bc171708e57354d8')
+
+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
+
+ # Non-deterministic race in npm gives 777 permissions to random directories.
+ # See https://github.com/npm/npm/issues/9359 for details.
+ chmod -R u=rwX,go=rX "$pkgdir"
+
+ # npm installs package.json owned by build user
+ # https://bugs.archlinux.org/task/63396
+ chown -R root:root "$pkgdir"
+}
Deleted: browserify.install
===================================================================
--- browserify.install 2020-03-30 15:05:43 UTC (rev 607008)
+++ browserify.install 2020-03-30 15:06:03 UTC (rev 607009)
@@ -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 607008, browserify/trunk/browserify.install)
===================================================================
--- browserify.install (rev 0)
+++ browserify.install 2020-03-30 15:06:03 UTC (rev 607009)
@@ -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