blob: 19727b1ea37e84595b6d15acef851e221dc07e2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Maxim Andersson <thesilentboatman@gmail.com>
pkgname=peerflix
pkgver=0.37.0
pkgrel=2
pkgdesc="Streaming torrent client for node.js"
arch=('any')
url="https://github.com/mafintosh/peerflix"
license=('MIT')
depends=('nodejs')
makedepends=('npm')
options=(!emptydirs)
source=("https://github.com/mafintosh/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('f8b870d88baa138c195bec7fd8c6d0f52718a3a4da949caccc168a96de99ba2f')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
npm install --cache ../cache --user root -g --prefix "${pkgdir}/usr" ../*.tar.gz
}
# vim:set ts=2 sw=2 et:
|