[arch-commits] Commit in marked/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Thu Aug 25 17:31:50 UTC 2022


    Date: Thursday, August 25, 2022 @ 17:31:50
  Author: felixonmars
Revision: 1279537

archrelease: copy trunk to community-any

Added:
  marked/repos/community-any/PKGBUILD
    (from rev 1279536, marked/trunk/PKGBUILD)
Deleted:
  marked/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   58 +++++++++++++++++++++++++++++-----------------------------
 1 file changed, 29 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-25 17:31:34 UTC (rev 1279536)
+++ PKGBUILD	2022-08-25 17:31:50 UTC (rev 1279537)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=marked
-pkgver=4.0.5
-pkgrel=1
-pkgdesc="A markdown parser built for speed"
-arch=('any')
-url='https://github.com/chjj/marked'
-license=('MIT')
-depends=('nodejs')
-makedepends=('npm')
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('7944e8300e5de65ba79e2a6408def3143d118ae9c2176528e9b22612dfd0c7c2d9316ee83d74f0ed1f9ff8ce55dde4bbd7ae078c40cf7d6f3f4eb79fb858437f')
-
-package() {
-  npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
-
-  # 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"
-
-  install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s ../../../lib/node_modules/marked/LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
-}

Copied: marked/repos/community-any/PKGBUILD (from rev 1279536, marked/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-25 17:31:50 UTC (rev 1279537)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=marked
+pkgver=4.0.6
+pkgrel=1
+pkgdesc="A markdown parser built for speed"
+arch=('any')
+url='https://github.com/chjj/marked'
+license=('MIT')
+depends=('nodejs')
+makedepends=('npm')
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('f87d1b4dff0333cccbb850549bfd95925c5a0abc250458282731c970c6429d9f5c3e0b25947c0aa4be933cb743780dfcc8f96e32e54a38bd613b9c3a1e61b932')
+
+package() {
+  npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+
+  # 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"
+
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s ../../../lib/node_modules/marked/LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+}



More information about the arch-commits mailing list