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

Felix Yan felixonmars at archlinux.org
Wed Jun 23 01:39:11 UTC 2021


    Date: Wednesday, June 23, 2021 @ 01:39:11
  Author: felixonmars
Revision: 966963

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-23 01:38:48 UTC (rev 966962)
+++ PKGBUILD	2021-06-23 01:39:11 UTC (rev 966963)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=marked
-pkgver=2.1.1
-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=('e57152ebda3d0b30e94034a95180be00ddb1beaf329751066b9486fc623584fefcfee4dea373c37e20cd9ac53289a869ca14e80c3261424edf36d26c81af8a57')
-
-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 966962, marked/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-23 01:39:11 UTC (rev 966963)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=marked
+pkgver=2.1.2
+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=('b9e26122f925249c34e2ac506c6200bbadc45f0c0e09873bc8a3018e06a04cce2b8c2e50b56caa48d816ee30a8b15d7f2a6ff54d47ece6a12902a7061b4328e6')
+
+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