blob: 49e2c0ac30b367de0c3f62876e8261a035ff9d4a (
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-webtorrent-cli
_pkgname="${pkgname#nodejs-}"
pkgver=3.0.5
pkgrel=1
pkgdesc='WebTorrent, the streaming torrent client. For the command line.'
arch=('i686' 'x86_64')
url='https://webtorrent.io'
license=('MIT')
depends=('nodejs')
makedepends=('npm')
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/feross/${_pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('6b849e46f4511d2aeaeb93ae544cff6b9c72202ca24388e1aee7ccefb5451296')
noextract=("${_pkgname}-${pkgver}.tar.gz")
package() {
npm \
install \
--user root \
--global \
--prefix "${pkgdir}/usr" \
"${srcdir}/${_pkgname}-${pkgver}.tar.gz"
}
# vim:set ts=2 sw=2 et:
|