diff options
-rw-r--r-- | vue-cli/PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/vue-cli/PKGBUILD b/vue-cli/PKGBUILD index 1bc34aad0..9099b43af 100644 --- a/vue-cli/PKGBUILD +++ b/vue-cli/PKGBUILD @@ -9,7 +9,7 @@ _npmname=cli _npmid="@$_npmscope/$_npmname" pkgname="${_npmscope}-${_npmname}" -pkgver=4.5.15 +pkgver=5.0.8 pkgrel=1 pkgdesc='Standard tooling for Vue.js development' arch=('any') @@ -21,7 +21,7 @@ optdepends=() conflicts=('nodejs-vue-cli' 'vue') source=("$pkgname-$pkgver.tar.gz::https://registry.npmjs.org/$_npmid/-/$_npmname-$pkgver.tgz") noextract=("${source[@]%%::*}") -sha256sums=('1b30ab732dd74684212623a1b25853905f3b788d4a2ddb5bf8de80107ee53bf2') +sha512sums=('73f40a3dd0b4f5b6245b6da6fdba1790b6a2cf5d33d19d961d93bbcc478d75f49dbaac9620d66129cea1550537564d0d5d6ec124077bcd699c52b0bc2fd4ee00') package() { mkdir -p "${pkgdir}"/usr/lib @@ -40,7 +40,9 @@ package() { # Package contains reference to $srcdir/$pkgdir find "${pkgdir}" -type f -name package.json -execdir sed -i '/_where/d' {} \+ - sed -i "s|$pkgdir||" "$pkgdir"/usr/lib/node_modules/"$_npmid"/node_modules/sshpk/package.json + find "$pkgdir"/usr/lib/node_modules/"$_npmid"/node_modules \ + -name package.json \ + -exec sed -i "s|$pkgdir||" {} \; # Add license install -Dm644 "$pkgdir/usr/lib/node_modules/$_npmid/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" |