[arch-commits] Commit in gnomon/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:14:14 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:14:14
  Author: felixonmars
Revision: 658772

archrelease: copy trunk to community-staging-any

Added:
  gnomon/repos/community-staging-any/
  gnomon/repos/community-staging-any/PKGBUILD
    (from rev 658771, gnomon/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: gnomon/repos/community-staging-any/PKGBUILD (from rev 658771, gnomon/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 14:14:14 UTC (rev 658772)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=gnomon
+pkgver=1.5.0
+pkgrel=2
+pkgdesc="Utility to annotate console logging statements with timestamps and find slow processes"
+arch=('any')
+url="https://github.com/paypal/gnomon"
+license=('MIT')
+depends=('nodejs' 'semver')
+makedepends=('npm')
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('0c199bada9e7588896206b2e075d18542ce10a77b229465a021a93731e3afd00380771bb02b5331c5048f3b6029642d6ada180a26c47b7bc0d10ab2719de9c95')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+
+  # Experimental dedup
+  rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/semver
+
+  # Why 777? :/
+  chmod -R u=rwX,go=rX "$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list