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

Felix Yan felixonmars at archlinux.org
Sun Jul 21 01:33:32 UTC 2019


    Date: Sunday, July 21, 2019 @ 01:33:32
  Author: felixonmars
Revision: 492313

archrelease: copy trunk to community-testing-any

Added:
  marked/repos/community-testing-any/
  marked/repos/community-testing-any/PKGBUILD
    (from rev 492312, marked/trunk/PKGBUILD)

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

Copied: marked/repos/community-testing-any/PKGBUILD (from rev 492312, marked/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-07-21 01:33:32 UTC (rev 492313)
@@ -0,0 +1,20 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=marked
+pkgver=0.7.0
+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=('73ec9874264942bb118d33e1531ed52a4029c3d6f00e435b1d42a8d68be071f0e36f691cf2b2ee45b205c972f958e114c334922a8dc85e9a61d8ae83a81fca66')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+  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