summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrederik “Freso” S. Olesen2019-04-11 10:24:39 +0200
committerFrederik “Freso” S. Olesen2019-04-11 10:24:39 +0200
commit9701f6efcd8dc253dd3dccb2adef3c257c35791d (patch)
treeaead821e45dcb1425ffaeaa44fce92c4b5b0ece1 /PKGBUILD
parent404473da0b31cca81e5b8e86a458911eba08072a (diff)
downloadaur-nodejs-js-yaml.tar.gz
js-yaml 3.13.1
See https://github.com/nodeca/js-yaml/blob/3.13.1/CHANGELOG.md for upstream changelog.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4ca5d359927..314d5baa393 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_npmname=js-yaml
pkgname=nodejs-$_npmname
-pkgver=3.10.0
+pkgver=3.13.1
pkgrel=1
pkgdesc='YAML 1.2 parser and writer'
arch=('any')
@@ -12,11 +12,10 @@ depends=('nodejs')
makedepends=('npm')
source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
noextract=("$_npmname-$pkgver.tgz")
-sha512sums=('3b6bf9d9f7e32daf5578ce372785e871913ffd64fd374222c036b72921c7ed3bbc0ad1fed6a33c48866f9ec4e1eaffb8c85cb9294637047515c23a5f016b2320')
+sha512sums=('61f6dc3bb8d70ddca3d031b16154a549e40d1db0fb5cf5afad559e554ba3ad0128673589211ac23e8ca4ea42fa2008c01b622894c2b84f484d51ed07394b3927')
package() {
npm install --cache "${srcdir}/npm-cache" -g --user root --prefix "$pkgdir"/usr "$srcdir/$_npmname-$pkgver.tgz"
- rm -r "$pkgdir"/usr/etc
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
ln -s "../../../lib/node_modules/$_npmname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
mkdir -p "$pkgdir/usr/share/doc/$pkgname"