blob: 72c294c58e9d3dbc814a80187c1b3f40f8352129 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Michael Heap <m at michaelheap dot com>
pkgname=trello-cli
pkgver=1.0.7
pkgrel=1
pkgdesc='Trello CLI tool'
arch=('x86_64')
url='https://github.com/mheap/trello-cli'
license=(MIT)
depends=('nodejs' 'npm')
provides=('trello')
source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
noextract=("$pkgname-$pkgver.tgz")
sha512sums=('61ffc922722dc6ab830b1fdc8120bf5de5b85b113cf8a5b5c5db6c4b46aa4b3ccb5ccb83523a54934ff20d5e6b70a8d745482b01f5d8d8b2cac3b7061634a26f')
package() {
cd $srcdir
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p $_npmdir
cd $_npmdir
npm install -g --prefix "$pkgdir/usr" $pkgname@$pkgver
}
|