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

Felix Yan felixonmars at gemini.archlinux.org
Mon Jul 25 02:55:52 UTC 2022


    Date: Monday, July 25, 2022 @ 02:55:52
  Author: felixonmars
Revision: 1256015

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-25 02:55:29 UTC (rev 1256014)
+++ PKGBUILD	2022-07-25 02:55:52 UTC (rev 1256015)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=marked
-pkgver=4.0.4
-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=('77cbfb49e9ecb8e8fe8318b44c66ea6f65ad4bad327197d9baab66001f72cf424ba2d29ead3a1bff8ed093da0b0839a7e46d5d71d9f7779c9d47e8a1f5dbd2d0')
-
-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 1256014, marked/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-25 02:55:52 UTC (rev 1256015)
@@ -0,0 +1,29 @@
+# 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
+}



More information about the arch-commits mailing list