blob: 4656bb3a979a9a8bc9a81535a5e56536dc22e5a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $Id$
# Maintainer: Damjan Georgievski <gdamjan@gmail.com>
pkgname=tslint
pkgver=6.1.3
pkgrel=2
pkgdesc="A Linter for the TypeScript language."
arch=('any')
url="http://palantir.github.io/tslint/"
license=('Apache')
depends=('typescript')
makedepends=('npm')
source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
noextract=($pkgname-$pkgver.tgz)
package() {
npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
# Non-deterministic race in npm gives 777 permissions to random directories.
# See https://github.com/npm/npm/issues/9359 for details.
#find "${pkgdir}"/usr -type d -exec chmod 755 {} +
}
sha256sums=('e35879c2f92e7dd865c55117bf0fbe3d5ad2c62142fddb7051696ebf8312db43')
|