summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bb596099750f8fe3210c336d70bb0757d8100842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: redfish <redfish@galactica.pw>

pkgname=dat
pkgver=13.12.2
pkgrel=1
pkgdesc="Open protocol for distributed peer-to-peer data exchange"
arch=(any)
url="https://datproject.org"
license=('BSD')
depends=('nodejs' 'npm')
source=(https://github.com/datproject/dat/archive/v$pkgver.tar.gz)

options=(!strip)

package(){
  npm install -g --user root --prefix "${pkgdir}/usr" "$srcdir/v${pkgver}.tar.gz"
}

sha256sums=('a1a7071e8cc0d01691dce8d957cb9a9c7d47a0c54fbd981e4183a6b60d236d38')