blob: 41e52625ef811a50d87887f586feca21607f18c9 (
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
|
# Maintainer Mircea Mihalea <mircea at mihalea dot ro>
_npmname=icon-font-generator
pkgname=nodejs-icon-font-generator
pkgver=2.1.10
pkgrel=1
pkgdesc='Easy-to-use cli tool to generate webfont icon kits from a bunch of .svg files'
arch=('any')
license=('MIT')
url="https://www.npmjs.com/package/icon-font-generator"
depends=('nodejs' 'npm')
provides=("$_npmname")
source=("http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
noextract=("$_npmname-$pkgver.tgz")
md5sums=("086ae31994e8f45bca0d4cd93e4e0bfa")
package() {
cd "$srcdir"
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p "$_npmdir"
cd "$_npmdir"
npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
}
# vim:set ts=2 sw=2 et:
|