blob: 33438afab119e323882f6ab24d0308ba290a2cff (
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
25
26
27
28
29
30
31
32
|
# Maintainer: Uzerus <szymonscholz at gmail dot com>
# Previous Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz>
# Previous Maintainer: Lauri Niskanen <ape@ape3000.com>
pkgname=nodejs-coffeelint
_pkgname=coffeelint
pkgver=2.0.6
pkgrel=3
pkgdesc="Style checker for CoffeeScript"
arch=(any)
url="http://www.coffeelint.org/"
license=('MIT')
depends=('nodejs')
makedepends=('npm')
optdepends=()
source=("$_pkgname-$pkgver.tar.gz::https://github.com/clutchski/coffeelint/archive/v2.0.6.tar.gz")
noextract=($_pkgname-$pkgver.tar.gz)
package() {
cd $srcdir/
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p "$_npmdir"
cd "$_npmdir"
npm install --user root -g --prefix="$pkgdir/usr" $_pkgname@$pkgver
rm -rf "$pkgdir/usr/etc/"
find "$pkgdir"/usr -type d -exec chmod 755 '{}' + #fix bug https://bugs.archlinux.org/task/56962
}
md5sums=('f5ff8853b9a53e5facab76d8420c5548')
|