summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Finelli2018-05-23 17:58:53 -0400
committerMario Finelli2018-05-23 17:58:53 -0400
commit59f1a4807e4ef5cd51a139a734c7eaaa37a370da (patch)
treeddfeaaa504f63f05d0ee59f19eeace6023aef0e9
parent67d68b39c5916f668b2b8d088807a1b54a345aa9 (diff)
downloadaur-59f1a4807e4ef5cd51a139a734c7eaaa37a370da.tar.gz
Bump to 5.2.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f255ac3c83c0..9e48f6446f0f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = nodejs-mocha
pkgdesc = Simple, flexible, fun test framework.
- pkgver = 5.0.5
+ pkgver = 5.2.0
pkgrel = 1
url = https://mochajs.org
arch = any
license = MIT
makedepends = npm
depends = nodejs
- noextract = mocha-5.0.5.tgz
- source = https://registry.npmjs.org/mocha/-/mocha-5.0.5.tgz
- sha256sums = e18826cdd81b0453404905ce4a229c3b5f8c866ed300a7ecc52ca2771a8ff2f2
+ noextract = mocha-5.2.0.tgz
+ source = https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz
+ sha256sums = 1a3f248571484e576887ed920e3f5f7a984afe384de42c543b42ebebf20e63b1
pkgname = nodejs-mocha
diff --git a/PKGBUILD b/PKGBUILD
index 083ff7e585eb..82f552bf9e55 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_npmname=mocha
pkgname=nodejs-$_npmname
-pkgver=5.0.5
+pkgver=5.2.0
pkgrel=1
pkgdesc="Simple, flexible, fun test framework."
arch=(any)
@@ -15,7 +15,7 @@ depends=('nodejs')
makedepends=('npm')
source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
noextract=($_npmname-$pkgver.tgz)
-sha256sums=('e18826cdd81b0453404905ce4a229c3b5f8c866ed300a7ecc52ca2771a8ff2f2')
+sha256sums=('1a3f248571484e576887ed920e3f5f7a984afe384de42c543b42ebebf20e63b1')
package() {
npm install \
@@ -23,7 +23,6 @@ package() {
--prefix "$pkgdir/usr" \
"$srcdir"/$_npmname-$pkgver.tgz
- rm -r "$pkgdir"/usr/etc
find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
install -Dm0644 "$pkgdir/usr/lib/node_modules/$_npmname/LICENSE" \