[arch-commits] Commit in uglify-js/repos/community-any (4 files)
Felix Yan
felixonmars at archlinux.org
Sun May 12 11:20:25 UTC 2019
Date: Sunday, May 12, 2019 @ 11:20:24
Author: felixonmars
Revision: 466213
archrelease: copy trunk to community-any
Added:
uglify-js/repos/community-any/PKGBUILD
(from rev 466212, uglify-js/trunk/PKGBUILD)
uglify-js/repos/community-any/uglify-js.install
(from rev 466212, uglify-js/trunk/uglify-js.install)
Deleted:
uglify-js/repos/community-any/PKGBUILD
uglify-js/repos/community-any/uglify-js.install
-------------------+
PKGBUILD | 54 ++++++++++++++++++++++++++--------------------------
uglify-js.install | 16 +++++++--------
2 files changed, 35 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-12 11:20:10 UTC (rev 466212)
+++ PKGBUILD 2019-05-12 11:20:24 UTC (rev 466213)
@@ -1,27 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Nagy <danielnagy at gmx de>
-
-pkgname=uglify-js
-pkgver=3.5.11
-pkgrel=1
-pkgdesc="JavaScript parser, mangler/compressor and beautifier toolkit"
-arch=('any')
-url='http://lisperator.net/uglifyjs'
-license=('BSD')
-depends=('nodejs')
-makedepends=('npm')
-install=${pkgname}.install
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('8b33c983c46c4b2ab16dd9ea5f7e84c696c7dcaeed0c1b0053f55f36ff3d564305cb7cf7f73163ba7406b121ce94697221f18b1a9ac67a8b20427a376e8dbf2a')
-
-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/uglify-js/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
-
- # Fix npm derp
- find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
-}
-
-# vim:set ts=2 sw=2 et:
Copied: uglify-js/repos/community-any/PKGBUILD (from rev 466212, uglify-js/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-12 11:20:24 UTC (rev 466213)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Nagy <danielnagy at gmx de>
+
+pkgname=uglify-js
+pkgver=3.5.12
+pkgrel=1
+pkgdesc="JavaScript parser, mangler/compressor and beautifier toolkit"
+arch=('any')
+url='http://lisperator.net/uglifyjs'
+license=('BSD')
+depends=('nodejs')
+makedepends=('npm')
+install=${pkgname}.install
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('29e41eb0ea4f899360570263f067b73f82586d01d4759ce9c7a15a872e9e280611495e3385598b5e80be26d39e6317070874ef7bc446d5919d4efa5e394336e9')
+
+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/uglify-js/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
+
+ # Fix npm derp
+ find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: uglify-js.install
===================================================================
--- uglify-js.install 2019-05-12 11:20:10 UTC (rev 466212)
+++ uglify-js.install 2019-05-12 11:20:24 UTC (rev 466213)
@@ -1,8 +0,0 @@
-post_install() {
- # fixup permissions
- chmod 755 /usr/lib/node_modules
-}
-
-post_upgrade() {
- post_install
-}
Copied: uglify-js/repos/community-any/uglify-js.install (from rev 466212, uglify-js/trunk/uglify-js.install)
===================================================================
--- uglify-js.install (rev 0)
+++ uglify-js.install 2019-05-12 11:20:24 UTC (rev 466213)
@@ -0,0 +1,8 @@
+post_install() {
+ # fixup permissions
+ chmod 755 /usr/lib/node_modules
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list