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

Felix Yan felixonmars at archlinux.org
Sun Dec 22 18:50:39 UTC 2019


    Date: Sunday, December 22, 2019 @ 18:50:39
  Author: felixonmars
Revision: 538882

archrelease: copy trunk to community-testing-any

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

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

Copied: marked-man/repos/community-testing-any/PKGBUILD (from rev 538880, marked-man/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-12-22 18:50:39 UTC (rev 538882)
@@ -0,0 +1,20 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=marked-man
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="Wrapper adding manpage output to 'marked', inspired by 'ronn'"
+arch=('any')
+url='https://github.com/kapouer/marked-man'
+license=('MIT')
+depends=('nodejs')
+makedepends=('npm')
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('cf12b91388dbb804402dcf9f21401a9ccda78d51a7addf58bcaaeaa031d48365f034b2628e8dfd133308839f4b79c1c11ec20736d3ea7a9aa7269e1298bfc456')
+
+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-man/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list