[arch-commits] Commit in marked/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Mar 18 22:34:20 UTC 2020
Date: Wednesday, March 18, 2020 @ 22:34:20
Author: felixonmars
Revision: 600728
archrelease: copy trunk to community-any
Added:
marked/repos/community-any/PKGBUILD
(from rev 600727, marked/trunk/PKGBUILD)
Deleted:
marked/repos/community-any/PKGBUILD
----------+
PKGBUILD | 58 +++++++++++++++++++++++++++++-----------------------------
1 file changed, 29 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-18 22:34:10 UTC (rev 600727)
+++ PKGBUILD 2020-03-18 22:34:20 UTC (rev 600728)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=marked
-pkgver=0.8.0
-pkgrel=2
-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=('33251ef93fcfc384d9b9f1e4cc07c38fa1daac205689adb2dbbfdb86e6244da8949df0d816708fdca50dfbda0ced68ba240dabca6b5561b42edeca44d060a6c5')
-
-package() {
- npm install -g --user root --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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: marked/repos/community-any/PKGBUILD (from rev 600727, marked/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-18 22:34:20 UTC (rev 600728)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=marked
+pkgver=0.8.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=('b597c94bcb84d33a68ef1a537dfc05c1845f5bd03335c768d3841c8ecf82f7ea02cbc312443dab783e620d5b58c7c9ad2daaac1ae821c3f60b95cc0dc401c0d6')
+
+package() {
+ npm install -g --user root --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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list