Install dependencies
This commit is contained in:
parent
11bc07c00b
commit
b05946762f
1 changed files with 4 additions and 1 deletions
5
PKGBUILD
5
PKGBUILD
|
@ -1,7 +1,7 @@
|
|||
pkgname=brainlet-git
|
||||
_name=brainlet
|
||||
_repository=brainlet
|
||||
pkgver=96
|
||||
pkgver=102
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc="A fast and open-source chat server"
|
||||
|
@ -37,6 +37,9 @@ package() {
|
|||
npm install -g --prefix "${pkgdir}/usr" --cache "${srcdir}/npm-cache"
|
||||
rm "${pkgdir}/usr/lib/node_modules/${_name}"
|
||||
cp -r "${srcdir}/${_repository}/${_name}" "${pkgdir}/usr/lib/node_modules/${_name}"
|
||||
pushd "${pkgdir}/usr/lib/node_modules/${_name}/"
|
||||
npm install
|
||||
popd
|
||||
|
||||
chmod -R 755 "${pkgdir}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue