[arch-commits] Commit in marked-man/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Nov 27 21:09:20 UTC 2018
Date: Tuesday, November 27, 2018 @ 21:09:19
Author: arojas
Revision: 410115
archrelease: copy trunk to community-any
Added:
marked-man/repos/community-any/PKGBUILD
(from rev 410114, marked-man/trunk/PKGBUILD)
Deleted:
marked-man/repos/community-any/PKGBUILD
----------+
PKGBUILD | 56 +++++++++++++++++++++++++++-----------------------------
1 file changed, 27 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-27 21:08:56 UTC (rev 410114)
+++ PKGBUILD 2018-11-27 21:09:19 UTC (rev 410115)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=marked-man
-pkgver=0.2.1
-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' 'marked')
-makedepends=('npm')
-source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('e2d55fd1b3a65f9e285d2d3b08d7cea39f6e82d2e08b3d45976828b217e6698e280c56acdc3ba941d627487d188865fdef5c5840bf875368a32164a6152611e2')
-
-package() {
- npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
- rm -r "$pkgdir"/usr/etc
- install -d "$pkgdir"/usr/share/licenses/$pkgname
- ln -s ../../../lib/node_modules/marked-man/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- # Experimental dedup
- cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
- for dep in marked; do
- rm -r $dep;
- npm link $dep;
- done
-}
Copied: marked-man/repos/community-any/PKGBUILD (from rev 410114, marked-man/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-27 21:09:19 UTC (rev 410115)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=marked-man
+pkgver=0.2.1
+pkgrel=2
+pkgdesc="Wrapper adding manpage output to 'marked', inspired by 'ronn'"
+arch=('any')
+url='https://github.com/kapouer/marked-man'
+license=('MIT')
+depends=('nodejs' 'marked')
+makedepends=('npm')
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('e2d55fd1b3a65f9e285d2d3b08d7cea39f6e82d2e08b3d45976828b217e6698e280c56acdc3ba941d627487d188865fdef5c5840bf875368a32164a6152611e2')
+
+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
+
+ # Experimental dedup
+ cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
+ for dep in marked; do
+ rm -r $dep;
+ npm link $dep;
+ done
+}
More information about the arch-commits
mailing list