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

Felix Yan fyan at archlinux.org
Wed Oct 7 10:11:54 UTC 2015


    Date: Wednesday, October 7, 2015 @ 12:11:54
  Author: fyan
Revision: 143270

archrelease: copy trunk to community-any

Added:
  typescript/repos/community-any/
  typescript/repos/community-any/PKGBUILD
    (from rev 143269, typescript/trunk/PKGBUILD)

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

Copied: typescript/repos/community-any/PKGBUILD (from rev 143269, typescript/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-10-07 10:11:54 UTC (rev 143270)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Bruno Galeotti <bgaleotti at gmail dot com>
+
+pkgname=typescript
+pkgver=1.6.2
+pkgrel=1
+pkgdesc="TypeScript is a language for application scale JavaScript development"
+arch=('any')
+url="http://typescriptlang.org/"
+license=('Apache')
+depends=('nodejs')
+makedepends=('npm')
+source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha256sums=('d553c416b02772452a8b3e0a6dd9db735c5d40154e99f1b1d6b730a2f0d6cbd2')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+  rm -r "$pkgdir"/usr/etc
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list