summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorangelsl2018-07-15 04:53:36 +0800
committerangelsl2018-07-15 04:53:36 +0800
commite9b12b3e1d57803e71a86ebba1fb39301256fb52 (patch)
tree8c84f32417c93f75f50dace14a33a7692c5378a6 /PKGBUILD
parent0f05ef6919d580061d7c112377f25f515a198416 (diff)
downloadaur-e9b12b3e1d57803e71a86ebba1fb39301256fb52.tar.gz
Update to 9.2.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 28ad68ae6cf..f3a1cfaf4d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
_pkgbase=serve
pkgname=nodejs-$_pkgbase
pkgdesc='Quick HTTP server'
-pkgver=6.5.1
+pkgver=9.2.0
pkgrel=1
arch=('any')
url='https://github.com/zeit/serve'
@@ -10,11 +10,11 @@ depends=('nodejs')
makedepends=('npm')
source=(http://registry.npmjs.org/$_pkgbase/-/$_pkgbase-$pkgver.tgz)
noextract=($_pkgbase-$pkgver.tgz)
-sha512sums=('965f32382fa8d5361728b98e60ced0271e4304823f936970690a79ea5f18b7ccd522419307c268a38ee56a98e441724b38761935907e670b455bac2664dd5893')
+sha512sums=('39fea7e90ba9a15fb26e896b592d5ed7c4ebbaec7b55e6146b9d97028f27a36758283013fa9599666af17f845d0aaa154cc7cd5a1beff298c39dff32d66dc791')
package() {
npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$_pkgbase-$pkgver.tgz
- rm -r "$pkgdir"/usr/etc
+ rm -fr "$pkgdir"/usr/etc
# Fix npm derp
find "$pkgdir/usr" -type d -exec chmod 755 '{}' +