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

Felix Yan fyan at archlinux.org
Wed Oct 14 02:53:39 UTC 2015


    Date: Wednesday, October 14, 2015 @ 04:53:39
  Author: fyan
Revision: 143955

archrelease: copy trunk to community-any

Added:
  keybase/repos/community-any/
  keybase/repos/community-any/PKGBUILD
    (from rev 143954, keybase/trunk/PKGBUILD)

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

Copied: keybase/repos/community-any/PKGBUILD (from rev 143954, keybase/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-10-14 02:53:39 UTC (rev 143955)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Michael Hansen <zrax0111 gmail com>
+
+pkgname=keybase
+pkgdesc='CLI tool for GPG with keybase.io'
+pkgver=0.8.22
+pkgrel=1
+arch=('any')
+url='http://keybase.io/'
+license=('BSD')
+depends=('gnupg' 'nodejs')
+makedepends=('npm' 'git')
+source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha256sums=('139df86057f1a17ed1f5391b39d50323402a7f7cd6a896173d3db5767a628a87')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+  rm -r "$pkgdir"/usr/etc
+  mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
+  ln -s "../../../lib/node_modules/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
+}



More information about the arch-commits mailing list