blob: 22352127195988a5108a6c8376708f1f09e338b6 (
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
|
# Maintainer: Christoph Gysin <christoph.gysin@gmail.com>
pkgname=nodejs-surge
_pkgname=${pkgname#nodejs-}
_gh_user=sintaxi
pkgver=0.20.1
pkgrel=1
pkgdesc='CLI for the surge.sh CDN'
arch=('any')
url="https://github.com/${_gh_user}/${_pkgname}"
license=('ISC')
depends=('nodejs')
makedepends=('npm')
options=(!strip)
package() {
npm \
install \
--user root \
--global \
--prefix "${pkgdir}/usr" \
--cache "${srcdir}/npm-cache" \
"${_pkgname}@${pkgver}"
}
# vim:set ts=2 sw=2 et:
|